Skip to content

Instantly share code, notes, and snippets.

@hyphaltip
Created April 11, 2020 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hyphaltip/781e6f13b24943d8898b0f1c23ef0c43 to your computer and use it in GitHub Desktop.
Save hyphaltip/781e6f13b24943d8898b0f1c23ef0c43 to your computer and use it in GitHub Desktop.
Download SRA for microbiome class
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