Last active
September 10, 2019 16:37
-
-
Save sminot/a55554a922fdb528d137c96546b94566 to your computer and use it in GitHub Desktop.
Demultiplex FASTQ files in which barcode was sequenced as a separate read
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| paste -d '' <(bunzip2 -c Raw_Read2_Barcodes.fq.bz2 | awk '{if(NR % 4 == 2 || NR % 4 == 4){print}else{print ""}}') <(bunzip2 -c Raw_Read1.fq.bz2) | fastx_barcode_splitter.pl --bcfile barcodes.tsv --prefix PREFIX --suffix _R1.fastq --bol |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment