self.nopass_destination = pass_destination
self.fastq = True
- self.flowcell_id = ''
+ self.flowcell_id = None
self.trim = slice(None)
self.reportFilter = False
"""
Return formatted flowcell ID
"""
- return self.flowcell_id+"_"
+ if self.flowcell_id is not None:
+ return self.flowcell_id+"_"
+ else:
+ return ""
def _convert_illumina_quality(self, illumina_quality):
"""
parser = OptionParser(usage)
parser.add_option('-a', '--fasta', default=False, action="store_true",
help="produce fasta files instead of fastq files")
- parser.add_option('-f', '--flowcell', default='',
+ parser.add_option('-f', '--flowcell', default=None,
help="Set flowcell ID for output file")
parser.add_option('-i', '--infile', default=None,
help='source tar file (if reading from an archive instead of a directory)')