@param uncall_remove (-c): clean data, remove any read with an uncalled base.
@param discard_low_qual (-q): discard reads with low quality scores.
@param rescue_radtag (-r) : rescue barcodes and RAD-Tags.
@param max_length (-t) : truncate final read length to this value. (default none)
@param quality_encode (-E) : specify how quality scores are encoded, 'phred33' (Illumina 1.8+, Sanger, default) or 'phred64' (Illumina 1.3 - 1.5).
@param keep_discard_read (-D): capture discarded reads to a file.
@param window_size (-w) : set the size of the sliding window as a fraction of the read length, between 0 and 1 (default 0.15).
@param limit_score (-s) : set the score limit. If the average score within the sliding window drops below this value, the read is discarded (default 10).
@param enzyme_name (-e) : -e [enz], --renz_1 [enz]: provide the restriction enzyme used (cut site occurs on single-end read)
@param archive_name : name for the output archive
"""
self.add_input_file_list("read1_files","paths to reads 1",default=read1_files,required=True,file_format='fastq')
self.add_input_file_list("read2_files","paths to reads 1",default=read2_files,required=True,file_format='fastq')
iflen(read1_files)!=len(read2_files):
raiseException("[ERROR] : the number of files is not correct! (the number of files in read1_files and in read2_files must be the same)")
self.add_parameter("uncall_remove","clean data, remove any read with an uncalled base.",default=uncall_remove)
self.add_parameter("discard_low_qual","discard reads with low quality scores.",default=discard_low_qual)
self.add_parameter("rescue_radtag","rescue barcodes and RAD-Tags.",default=rescue_radtag)
self.add_parameter("max_length","truncate final read length to this value. (default none)",default=max_length)
self.add_parameter("quality_encode","specify how quality scores are encoded, 'phred33' (Illumina 1.8+, Sanger, default) or 'phred64' (Illumina 1.3 - 1.5).",default=quality_encode)
self.add_parameter("keep_discard_read","capture discarded reads to a file.",default=keep_discard_read)
self.add_parameter("window_size","set the size of the sliding window as a fraction of the read length, between 0 and 1 (default 0.15).",default=window_size)
self.add_parameter("limit_score","set the score limit. If the average score within the sliding window drops below this value, the read is discarded (default 10).",default=limit_score)
self.add_parameter("enzyme_name","provide the restriction enzyme used (cut site occurs on single-end read)",default=limit_score)