def _check_for_slash_endings(self, readnames):
<EOL>readnames = [x.split()[<NUM_LIT:0>] for x in readnames]<EOL>if any(x for x in readnames if x.endswith('<STR_LIT>') or x.endswith('<STR_LIT>')):<EOL><INDENT>result = True<EOL><DEDENT>else:<EOL><INDENT>result = False<EOL><DEDENT>return result<EOL>
Provide a list of read names to be checked for the /1 or /2 endings
which cause troubles downstream when working with paired reads. This
function checks the list for ANY read ending in /1 or /2. The reads are
first stripped of any comment lines, using the 'split' function

Parameters
----------
readnames : list
    list of strings, each a read name to be checked for the /1 or /2
    ending

Returns
-------
Boolean. True if /1 or /2 endings are found, False if not.