安装
cd ~
/bin/bash
perl -MNet::FTP -e \
‘$ftp = new Net::FTP("ftp.ncbi.nlm.nih.gov", Passive => 1);
$ftp->login; $ftp->binary;
$ftp->get("/entrez/entrezdirect/edirect.tar.gz");‘
gunzip -c edirect.tar.gz | tar xf -
rm edirect.tar.gz
builtin exit
export PATH=${PATH}:$HOME/edirect >& /dev/null || setenv PATH "${PATH}:$HOME/edirect"
./edirect/setup.sh
实例
esearch -db gene -query "SLC2A2" | efect -format gb > out.txt
原文地址:https://www.cnblogs.com/pxy7896/p/9894345.html
时间: 2024-10-29 21:18:12