Hi,
I am trying to download only one (or more) region from a bam file from the 1000 Genome Project without having to download the whole file.
The way the 1000GP website suggests seems not to work for me, and I can't pinpoint the problem. Could you please help me?
I am working on a cluster using Linux.
Here's the command I sent:
samtools view -h ftp://ftp.1000genomes.ebi.ac.uk/vol1...e.20120522.bam 17:41243452-41277500 > HG00096.mapped.ILLUMINA.bwa.GBR.low_coverage.20120522.chr17reg1.bam
The resulting file is an empty bam with no header.
Thanks!
I am trying to download only one (or more) region from a bam file from the 1000 Genome Project without having to download the whole file.
The way the 1000GP website suggests seems not to work for me, and I can't pinpoint the problem. Could you please help me?
I am working on a cluster using Linux.
Here's the command I sent:
samtools view -h ftp://ftp.1000genomes.ebi.ac.uk/vol1...e.20120522.bam 17:41243452-41277500 > HG00096.mapped.ILLUMINA.bwa.GBR.low_coverage.20120522.chr17reg1.bam
The resulting file is an empty bam with no header.
Thanks!
Comment