Skip to content

Commit

Permalink
Merge branch 'movi_day' of https://github.com/charles-cowart/mg-scripts
Browse files Browse the repository at this point in the history
… into movi_day
  • Loading branch information
charles-cowart committed Jun 13, 2024
2 parents 996d350 + 14f8152 commit 812ec82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sequence_processing_pipeline/templates/nuqc_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function mux-runner () {
--adapter_fasta {{knwn_adpt_path}} \
--html {{html_path}}/${html_name} \
--json {{json_path}}/${json_name} \
--stdout > ${r1_filt}
--stdout | gzip > ${r1_filt}

# multiplex and write adapter filtered data all at once
cat ${r1_filt} | \
Expand All @@ -127,8 +127,8 @@ function mux-runner () {
--read ${jobd}/seqs.r1.ALIGN.fastq \
--stdout > ${jobd}/seqs.movi.txt

cat ${jobd}/seqs.movi.txt | python {{pmls_path}} - | \
seqtk subseq ${jobd}/seqs.r1.ALIGN.fastq - > ${jobd}/seqs.r1.final.fastq
python {{pmls_path}} <(zcat ${jobd}/seqs.movi.txt.gz) | \
seqtk subseq ${jobd}/seqs.r1.ALIGN.fastq.gz - | gzip > ${jobd}/seqs.r1.final.fastq.gz

{{splitter_binary}} ${jobd}/seqs.r1.final.fastq \
${jobd}/reads.r1.fastq ${delimiter} ${r1_tag} &
Expand Down

0 comments on commit 812ec82

Please sign in to comment.