snipe-bio / scripts

misc scripts used in snipe
0 stars 0 forks source link

Download metadata #2

Open mr-eyes opened 4 weeks ago

mr-eyes commented 4 weeks ago
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'result=read_run&query=tax_eq(9606)&fields=run_accession%2Ctax_id%2Cfastq_bytes%2Csra_ftp%2Csample_accession%2Cexperiment_accession&limit=999999999999&format=tsv' "https://www.ebi.ac.uk/ena/portal/api/search" > ebi_human.tsv
mr-eyes commented 3 weeks ago

Cattle

curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'result=read_run&query=tax_eq(9913)&fields=run_accession%2Clibrary_layout%2Clibrary_source%2Cbase_count%2Clibrary_strategy%2Cproject_name%2Csra_ftp%2Csample_accession%2Cexperiment_accession&limit=999999999999&format=tsv' "https://www.ebi.ac.uk/ena/portal/api/search" > ebi_cattle.tsv