Skip to content

Instantly share code, notes, and snippets.

@rob-p
Created May 28, 2015 15:44
Show Gist options
  • Save rob-p/d71addc5358881932849 to your computer and use it in GitHub Desktop.
Save rob-p/d71addc5358881932849 to your computer and use it in GitHub Desktop.
shuffle reads
seqtk mergepe ${leftIn} ${rightIn} | pv -r -b | paste - - - - - - - - | shuf | tr "\t" "\n" | tee >(seqtk seq -1 - > ${outBase}_1.fastq) | seqtk seq -2 - > ${outBase}_2.fastq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment