cd /personalbio1/R_Report/Users/hudb/script/download_genome/ensembl/ wget -q -c -t 3 https://ftp.ensembl.org/pub/current/species_EnsemblVertebrates.txt wget -q -c -t 3 https://ftp.ensemblgenomes.ebi.ac.uk/pub/plants/current/species_EnsemblPlants.txt wget -q -c -t 3 http://ftp.ensemblgenomes.org/pub/metazoa/current/species_EnsemblMetazoa.txt wget -q -c -t 3 http://ftp.ensemblgenomes.org/pub/fungi/current/species_EnsemblFungi.txt cat species_Ensembl* |sed '/^#name/d' | cut -f1-7 |awk 'BEGIN{FS=OFS="\t"}FNR==NR{a[$1]=$2}FNR!=NR{print $0,a[$3]}' division_url.txt - | cat head - > all_species.txt cd -