Open nickdos opened 2 years ago
E.g. using an accession of GCA_022045225.1, the curl command is
GCA_022045225.1
curl
curl -OJX GET "https://api.ncbi.nlm.nih.gov/datasets/v1/genome/accession/GCA_022045225.1/download?include_annotation_type=GENOME_GFF,RNA_FASTA,CDS_FASTA,PROT_FASTA&filename=GCA_022045225.1.zip" -H "Accept: application/zip"
Record has Genetic Accession URI: https://ftp.ncbi.nlm.nih.gov/genomes/all/GCA/022/045/225/GCA_022045225.1_xgHalCrac1.a
Genetic Accession URI
but this returns a 403.
403
First pass is adding download link on records side-panel view.
E.g. using an accession of
GCA_022045225.1
, thecurl
command iscurl -OJX GET "https://api.ncbi.nlm.nih.gov/datasets/v1/genome/accession/GCA_022045225.1/download?include_annotation_type=GENOME_GFF,RNA_FASTA,CDS_FASTA,PROT_FASTA&filename=GCA_022045225.1.zip" -H "Accept: application/zip"