This is a test version of Biostars. For the public version, visit https://www.biostars.org.
how can I download Chromosome 1 of the human genome

Hi there, I"m can't find the ftp address for a fasta file of the nucleotide sequences for GRCh38 Chromosome 1. NC_000001.11

I don't want to download the whole genome as I"m low on space. If anyone could point me in the right direction or a mirror site. that'd be great.

thanks

ftp grch38 ncbi

2 answers

Hi,

You can use NCBI Datasets. You can use the following command (assuming you want to download the chromosome 1 from the Human Reference Sequence):

datasets download genome taxon human --reference --chromosomes 1 --filename human_chr1.zip

This will download a full data package that includes genomics fasta, protein, gff3, transcripts and cds sequences, plus metadata file.

If you want only the genomic fasta, here's the command (notice the --exclude flags):

datasets download genome taxon human --reference --chromosomes 1 --exclude-genomic-cds --exclude-protein --exclude-rna --exclude-gff3 --filename human_chr1_seq.zip

Let me know if this works for you or if you run into any issues. :)

wrong url.

$ curl -s "https://hgdownload.soe.ucsc.edu/goldenPath/hg38/chromosomes/chr1.fa.gz" | gunzip -c | head
>chr1
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

Log in to answer this question.