Skip to content

Instantly share code, notes, and snippets.

@mdshw5
Last active March 25, 2016 13:45
Show Gist options
  • Save mdshw5/eb7fa92c8800e17bef61 to your computer and use it in GitHub Desktop.
Save mdshw5/eb7fa92c8800e17bef61 to your computer and use it in GitHub Desktop.
biostars 183279
pip install pyfaidx
faidx --transform nucleotide giant.fasta > base_counts.txt
cat base_counts.txt | awk '{if ($8 == 0); print $1}' > seqs_without_n.txt
xargs faidx giant.fasta < seqs_without_n.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment