File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -70,21 +70,22 @@ def _inject_data(self, wf):
7070 # # then loop over samples and stage all fastq.gz files
7171 dstats = []
7272 for sample in samples :
73- sn = sample ['Sample_Name ' ]
73+ sn = sample ['Sample_ID ' ]
7474 sp = sample ["Sample_Project" ]
7575 dstats .append ({'SampleID' : sn , '# Reads' : 2 })
7676 dname = f'{ convert_dir } /{ sp } '
77- Path (f'{ dname } /{ sn } _R1 .fastq.gz' ).touch ()
77+ Path (f'{ dname } /{ sn } _S000_L001_R1_001 .fastq.gz' ).touch ()
7878 with open (f'{ dname } /{ sn } _R1.counts.txt' , 'w' ) as f :
7979 f .write ("2" )
8080
8181 # NuQCJob
8282 dname = f'{ nuqc_dir } /filtered_sequences/{ sp } '
83- copyfile (self .gz_source , f'{ dname } /{ sn } _R1.trimmed.fastq.gz' )
83+ copyfile (self .gz_source ,
84+ f'{ dname } /{ sn } _S000_L001_R1_001.trimmed.fastq.gz' )
8485
8586 # GenPrepFileJob
8687 gprep_base = f'{ genprep_dir } /{ sp } /filtered_sequences/{ sn } '
87- Path (f'{ gprep_base } _R1 .trimmed.fastq.gz' ).touch ()
88+ Path (f'{ gprep_base } _S000_L001_R1_001 .trimmed.fastq.gz' ).touch ()
8889
8990 pd .DataFrame (dstats ).set_index ('SampleID' ).to_csv (
9091 f'{ reports_dir } /Demultiplex_Stats.csv' )
You can’t perform that action at this time.
0 commit comments