---
title: "for downloading NCBI data"
author: "Olivia"
date: "2023-04-12"
output: html_document
---

#Grab command-line curl code from website
[website](https://www.ncbi.nlm.nih.gov/data-hub/genome/GCF_021730395.1/)
Mercenaria mercenaria (northern quahog)
- genome fasta
- rna fasta
```{bash}

curl -OJX GET "https://api.ncbi.nlm.nih.gov/datasets/v2alpha/genome/accession/GCF_021730395.1/download?include_annotation_type=GENOME_FASTA,GENOME_GFF,RNA_FASTA,CDS_FASTA,PROT_FASTA,SEQUENCE_REPORT&filename=GCF_021730395.1.zip" -H "Accept: application/zip" 
```

```{bash}
pwd
cd ../data
unzip GCF_021730395.1.zip
```
