Skip to content

Instantly share code, notes, and snippets.

@alexgman
Forked from cfljam/split_fasta
Last active August 29, 2015 14:25
Show Gist options
  • Save alexgman/119314125b1b1e0ec83d to your computer and use it in GitHub Desktop.
Save alexgman/119314125b1b1e0ec83d to your computer and use it in GitHub Desktop.
d
awk '/^>/{s=++d".fasta"} {print > s}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment