Subscribed unsubscribe Subscribe Subscribe

CPSAM.org

computer, programming, statistics and more!

GenbankID2orgname

EfetchでGenbankIDから生物種名を得たい場合

curl -s "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=CP012745&rettype=fasta&retmode=xml" |\
grep TSeq_orgname |\
cut -d '>' -f 2 |\
cut -d '<' -f 1 |\
tr -d "\n"
echo
Remove all ads