Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • marco12345
    Member
    • Mar 2013
    • 19

    Download bam region from 1000 genome project

    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!
    Last edited by marco12345; 10-15-2014, 01:54 AM.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    There must be some sort of restriction (firewall?) for using ftp on your cluster node. I did get a output file using your command. Output is in SAM format BTW, using your command.
    Last edited by GenoMax; 10-15-2014, 04:59 AM.

    Comment

    • lre1234
      Senior Member
      • Aug 2011
      • 110

      #3
      I can also get the command that you have to work fine. But I have been trying to get this to work with using the '-L MyRegions.bed' samtools command to get multiple regions from a bed file, but it doesn't seem to work. Is that not allowed with using the ftp file?

      Comment

      • lh3
        Senior Member
        • Feb 2008
        • 686

        #4
        It should work, but will be very slow.

        Comment

        Latest Articles

        Collapse

        • GATTACAT
          Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by GATTACAT
          Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
          07-01-2026, 11:43 AM
        • SEQadmin2
          Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by SEQadmin2


          I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

          Here are nine questions we think about, in roughly the order they matter, before...
          06-18-2026, 07:11 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 07-02-2026, 11:08 AM
        0 responses
        18 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-30-2026, 05:37 AM
        0 responses
        19 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-26-2026, 11:10 AM
        0 responses
        21 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-17-2026, 06:09 AM
        0 responses
        54 views
        0 reactions
        Last Post SEQadmin2  
        Working...