self.add_parameter("barcode_file","Name of the barcode file",default=barcode_file,required=False,file_format='str')
#self.add_parameter("barcode_file", "Name of the barcode file", default=barcode_file, required=False , file_format = 'str')
self.add_parameter("archive_name","Name of the archive",default=archivename,type='str')
self.add_parameter("run_name","The name of the run (from total fastq file)",pattern='{basename_woext}',items=self.fastq_files,file_format="fastq")
#self.add_parameter( "run_name", "The name of the run (from total fastq file)", pattern='{basename_woext}', items=self.fastq_files, file_format = "fastq")
defdefine_analysis(self):
self.name="DemultiplexONT"
...
...
@@ -53,7 +53,7 @@ class Demultiplex_ONT (Analysis):
list_stats=[]
withopen(stat_file,"r")asf_stat:
forlineinf_stat.readlines():
list_stat.append(line.split())
list_stats.append(line.split())
# Registering file's header into a list
header=list_stats.pop(0)
...
...
@@ -74,47 +74,26 @@ class Demultiplex_ONT (Analysis):