Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Status (9 February 2021)

Demultiplexing and splitting

Demultiplexing

The raw sequence data are in /project/microbiome/data/seq/gtl_tests/iSeq100Pilot1_brew_30nov20/rawdata.

  1. I uncompressed the forward and reverse read files with unpigz on an interactive node (could also used single-threaded gunzip).

  2. I fixed the line-endings (from MS DOS line-endings) in the Brew_20_DEMUX.csv with dos2unix Brew_20_DEMUX.csv

  3. I ran sbatch run_slurm_parse_count.sh after editing run_slurm_parse_count.sh to have the correct filenames and string for the sequencer id.

It appears that there are a large number of reads going into truemiderrors_Brew20Nov_S1_L001_R1_001.fastq many of which look like they could be ITS coligos (they have long terminal, default G base calls and the sequence before this looks pretty consistent.

Splitting

The info lines for each read in parsed_*_R1.fastq and parsed_*_R2.fastq have the locus, the forward mid, the reverse mid, and the sample name. These can be used with the demux key to separate reads into loci, projects, and samples, in the folder sample_fastq/. The reads are in separate files for each sequenced sample, including replicates. The unique combination of forward and reverse MIDs (for a locus) is part of the filename and allows replicates to be distinguished and subsequently merged.

run_splitFastq_fwd.sh and run_splitFastq_rev.sh run splitFastq.pl, which split reads by sample and project, and place them in /project/microbiome/data/seq/gtl_tests/iSeq100Pilot1_brew_30nov20/rawdata/sample_fastq/.

splitFastq.pl will need tweaking in the future, until sample names and the format of the key for demultiplexing and metadata stabilizes. The number of columns in the demux key has differed among some of our completed sequence lanes. Brew_20_DEMUX.csv has 10 columns: forward_barcode,reverse_barcode,locus,samplename,project,wellposition,plate,midplate,substrate,client_name.


  • No labels