Skip to content

Instantly share code, notes, and snippets.

@fwip
Last active August 22, 2016 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fwip/5741f0e8982a26d0cd5ea9f1eadbafd4 to your computer and use it in GitHub Desktop.
Save fwip/5741f0e8982a26d0cd5ea9f1eadbafd4 to your computer and use it in GitHub Desktop.
#!/bin/bash
for fastq in $SAMPLE_NAME*.fastq.gz; do
zcat $fastq \
| awk '/Y/' \
`basename $fastq .gz` >filtered_
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment