Created
September 21, 2014 23:52
-
-
Save cfljam/b1340eaa70fc05fe349e to your computer and use it in GitHub Desktop.
Split multi-fasta file into individual files
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
awk '/^>/{s=++d".fasta"} {print > s}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment