Hello, I have recently started using Sarek more an...
# sarek
m
Hello, I have recently started using Sarek more and have a question about how to correctly set up the metadata for samples that underwent more than one sequencing run. (Sorry if this was discussed before 🙈) I did a small test with a sample that was sequenced twice, each time using two lanes (4x FASTQ pairs total). I tested two input formats for this sample.
Copy code
patient,sample,lane,fastq_1,fastq_2
patient1,sample1,lane_1,data/test/S597_01_S244_L001_R1_001.fastq.gz,data/test/S597_01_S244_L001_R2_001.fastq.gz
patient1,sample1,lane_2,data/test/S597_01_S244_L002_R1_001.fastq.gz,data/test/S597_01_S244_L002_R2_001.fastq.gz
patient1,sample1,lane_3,data/test/S597_02_S597_L003_R1_001.fastq.gz,data/test/S597_02_S597_L003_R2_001.fastq.gz
patient1,sample1,lane_4,data/test/S597_02_S597_L004_R1_001.fastq.gz,data/test/S597_02_S597_L004_R2_001.fastq.gz
and
Copy code
patient,sample,lane,fastq_1,fastq_2
patient1,sample1,run_1_lane_1,data/test/S597_01_S244_L001_R1_001.fastq.gz,data/test/S597_01_S244_L001_R2_001.fastq.gz
patient1,sample1,run_1_lane_2,data/test/S597_01_S244_L002_R1_001.fastq.gz,data/test/S597_01_S244_L002_R2_001.fastq.gz
patient1,sample1,run_2_lane_1,data/test/S597_02_S597_L003_R1_001.fastq.gz,data/test/S597_02_S597_L003_R2_001.fastq.gz
patient1,sample1,run_2_lane_2,data/test/S597_02_S597_L004_R1_001.fastq.gz,data/test/S597_02_S597_L004_R2_001.fastq.gz
In both cases, MultiQC reports looked very similar, if not equal, and the VCF was mostly equal with minor differences in 6 out of >310,000 rows. Is it fine to use “lane 1 to lane 4” or would it be a better practice to add the information that the files came from different runs to the metadata as “run 1 lane 1 … run 2 lane 2"?
t
As you saw, for the results it does not matter at all. My guess is that the minor differences you saw are probably from stochastic decisions that some software program make (i.e. they would occur even if you ran with the exact same samplesheet). What is best (better?) practice? Whatever helps you when you look at this again in a couple of years. The only differences are the read group names (in the CRAMs and maybe some report), so whatever helps you remember what you did is best.
m
Thank you Thomas! 🙏
👍 1