Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jlfmssm
    Member
    • Apr 2010
    • 14

    coverageBed question

    I try to run coverageBed like this:
    /home/ay55/BEDTools/bin/genomeCoverageBed -ibam 1382_1_sorted.bam -i hg18.bed.sorted -g hg18.genome > hg18_seq.cov.txt

    no error at all, but when I open hg18_seq.cov.txt, I got this
    read block failed - CheckBlockHeader() returned false
    Could not read header type

    Any idea?
  • zee
    NGS specialist
    • Apr 2008
    • 249

    #2
    I dont think you are giving the program the correct options.

    You should only one of either

    BAM file as input "-ibam"
    or
    BED file as input "-i"

    Comment

    • quinlana
      Senior Member
      • Sep 2008
      • 119

      #3
      Originally posted by jlfmssm View Post
      I try to run coverageBed like this:
      /home/ay55/BEDTools/bin/genomeCoverageBed -ibam 1382_1_sorted.bam -i hg18.bed.sorted -g hg18.genome > hg18_seq.cov.txt

      no error at all, but when I open hg18_seq.cov.txt, I got this
      read block failed - CheckBlockHeader() returned false
      Could not read header type

      Any idea?
      Assuming you want to run genomeCoverageBed (chromosome level coverage), you would do so as follows:

      Code:
      genomeCoverageBed -ibam 1382_1_sorted.bam  -g hg18.genome > hg18_seq.genomecov.txt
      If you want to run coverageBed (coverage across intervals defined in a BED file):

      Code:
      coverageBed -ibam 1382_1_sorted.bam -b hg18.bed.sorted  > hg18_seq.cov.txt
      I hope this helps,
      Aaron

      Comment

      Latest Articles

      Collapse

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 10:09 AM
      0 responses
      10 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-04-2026, 08:59 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 12:03 PM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 11:40 AM
      0 responses
      21 views
      0 reactions
      Last Post SEQadmin2  
      Working...