Last active
October 12, 2017 17:27
-
-
Save johnsolk/3958c91fe39c92e51cb4544d0b6b8f24 to your computer and use it in GitHub Desktop.
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
# From within a py3 virtualenv | |
# or | |
# sudo pip install screed | |
# source ~/bin/py3/bin/activate | |
import screed | |
with open("table.txt",'w') as fq: | |
for r in screed.open('trinity.nema.full.fasta'): | |
fq.write(r.name+"\n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
head nema_transcript_gene_id.txt
Output: