def clean_up(fastq):
for fq in fastq:<EOL><INDENT>rp = os.path.realpath(fq)<EOL>logger.debug("<STR_LIT>".format(rp))<EOL>if re.match("<STR_LIT>", rp):<EOL><INDENT>os.remove(rp)<EOL><DEDENT><DEDENT>
Cleans the temporary fastq files. If they are symlinks, the link
source is removed

Parameters
----------
fastq : list
    List of fastq files.