BrockPna Bioinformatics

Demultiplexing

Split into 100000 line files

mkdir /gscratch/grandol1/Brock1_Pna/rawdata cd /gscratch/grandol1/Brock1_Pna/rawdata unpigz --to-stdout /project/gtl/data/raw/Brock1_Pna/rawdata/Brock1_Pna_R1.fq.gz | split -l 1000000 -d --suffix-length=3 --additional-suffix=.fastq - Brock1_Pna_R1_ ; unpigz --to-stdout /project/gtl/data/raw/Brock1_Pna/rawdata/Brock1_Pna_R2.fq.gz | split -l 1000000 -d --suffix-length=3 --additional-suffix=.fastq - Brock1_Pna_R2_

Remove underscores and extraneous spaces