Created
June 15, 2012 14:37
-
-
Save fjossinet/2936778 to your computer and use it in GitHub Desktop.
How to download protein or nucleotide sequences from a list of gene ids?
This file contains 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
cat gene_ids.txt | xargs -I % wget -qO %.fasta "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nucleotide&id=%&rettype=fasta" |
This file contains 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
17986270 | |
4503385 | |
118214 | |
76673410 | |
73951844 | |
55666937 | |
51458701 | |
4507041 | |
6753680 | |
30794286 | |
6978777 | |
32483397 | |
118206 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment