Created
April 11, 2020 21:29
-
-
Save hyphaltip/781e6f13b24943d8898b0f1c23ef0c43 to your computer and use it in GitHub Desktop.
Download SRA for microbiome class
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
curl -o PRJEB4350.txt "https://www.ebi.ac.uk/ena/data/warehouse/filereport?accession=PRJEB4350&result=read_run&fields=study_accession,sample_accession,fastq_ftp&download=txt" | |
while read -a PROJ SAMPLE URL | |
do | |
curl -O $URL | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment