Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bjfan
    Junior Member
    • Apr 2011
    • 3

    #1

    BED file is malformed with unreadable codes

    Although I edited the BED file to remove the headlines and random contigs which is not present in the reference dictionary, I still got the following errors. It seems that there is a contig with unreadable codes (1) in the edited BED file. I could not find a way to remove this kind of contigs from BED file. Could anyone give some advices? Thank you in advance.

    ------------------------------------------------------------
    # LSBATCH: User input
    # Depth of coverage within targets_interval

    java -Xmx32g -jar /home/bf13/GATK/GenomeAnalysisTK-1.6-5-g557da77/GenomeAnalysisTK.jar \
    -l INFO \
    -T DepthOfCoverage \
    -R /home/bf13/RefSeq/human_g1k_v37.fasta \
    -L /home/bf13/RefSeq/SureSelect_All_Exon_V4_plus_UTRs_71mb.hg19.rm.bed \
    -I jw1028.bam \
    -I jw1107.bam \
    -I jw1108.bam \
    -I jw1661.bam \
    -I jw1662.bam \
    -I jw1664.bam \
    -I jw1780.bam \
    -I jw3011.bam \
    -I jw3116.bam \
    -I jw3139.bam \
    -omitBaseOutput \
    -o jw_all.depth.coverage \
    --outputFormat csv

    ------------------------------------------------------------

    Exited with exit code 1.

    Resource usage summary:

    CPU time : 8.44 sec.
    Max Memory : 2 MB
    Max Swap : 35 MB

    Max Processes : 1
    Max Threads : 1

    The output (if any) follows:

    INFO 14:32:39,466 RodBindingArgumentTypeDescriptor - Dynamically determined type of /home/bf13/RefSeq/SureSelect_All_Exon_V4_plus_UTRs_71mb.hg19.rm.bed to be BED INFO 14:32:39,513 HelpFormatter - --------------------------------------------------------------------------------
    INFO 14:32:39,513 HelpFormatter - The Genome Analysis Toolkit (GATK) v1.6-5-g557da77, Compiled 2012/05/03 17:30:26 INFO 14:32:39,513 HelpFormatter - Copyright (c) 2010 The Broad Institute INFO 14:32:39,514 HelpFormatter - Please view our documentation at http://www.broadinstitute.org/gsa/wiki
    INFO 14:32:39,514 HelpFormatter - For support, please view our support site at http://getsatisfaction.com/gsa INFO 14:32:39,515 HelpFormatter - Program Args: -l INFO -T DepthOfCoverage -R /home/bf13/RefSeq/human_g1k_v37.fasta -L /home/bf13/RefSeq/SureSelect_All_Exon_V4_plus_UTRs_71mb.hg19.rm.bed -I jw1028.bam -I jw1107.bam -I jw1108.bam -I jw1661.bam -I jw1662.bam -I jw1664.bam -I jw1780.bam -I jw3011.bam -I jw3116.bam -I jw3139.bam -omitBaseOutput -o jw_all.depth.coverage --outputFormat csv INFO 14:32:39,515 HelpFormatter - Date/Time: 2012/06/06 14:32:39 INFO 14:32:39,515 HelpFormatter - --------------------------------------------------------------------------------
    INFO 14:32:39,515 HelpFormatter - --------------------------------------------------------------------------------
    INFO 14:32:39,540 GenomeAnalysisEngine - Strictness is SILENT INFO 14:32:39,624 SAMDataSource$SAMReaders - Initializing SAMRecords in serial INFO 14:32:40,693 SAMDataSource$SAMReaders - Done initializing BAM readers: total time 1.07 INFO 14:32:42,984 GATKRunReport - Uploaded run statistics report to AWS S3 ##### ERROR ------------------------------------------------------------------------------------------
    ##### ERROR A USER ERROR has occurred (version 1.6-5-g557da77):
    ##### ERROR The invalid arguments or inputs must be corrected before the GATK can proceed ##### ERROR Please do not post this error to the GATK forum ##### ERROR ##### ERROR See the documentation (rerun with -h) for this tool to view allowable command-line arguments.
    ##### ERROR Visit our wiki for extensive documentation http://www.broadinstitute.org/gsa/wiki
    ##### ERROR Visit our forum to view answers to commonly asked questions http://getsatisfaction.com/gsa ##### ERROR ##### ERROR MESSAGE: File associated with name /home/bf13/RefSeq/SureSelect_All_Exon_V4_plus_UTRs_71mb.hg19.rm.bed is malformed: Problem reading the interval file caused by Badly formed genome loc: Contig 1 given as location, but this contig isn't present in the Fasta sequence dictionary ##### ERROR -----------------------------------------------------
  • mak
    Junior Member
    • Feb 2013
    • 2

    #2
    I had the same problem, my bed file looked like this:

    1 position position
    1 position position
    1 position position
    2 position position
    ...etc
    while it should be:
    chr1 position position
    chr1 position position
    chr1 position position
    chr2 position position

    a fix for this is:

    cat bedfile.bed | sed 's:^:chr:'

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
      by SEQadmin2



      Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

      Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
      ...
      10-14-2026, 09:55 AM
    • SEQadmin2
      New Genomics Technologies Take Aim at Long-Standing Limits
      by SEQadmin2


      Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

      We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
      ...
      09-28-2026, 10:25 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 10-22-2026, 11:13 AM
    0 responses
    22 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 10:48 AM
    0 responses
    20 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-15-2026, 10:52 AM
    0 responses
    36 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-14-2026, 05:39 AM
    0 responses
    42 views
    0 reactions
    Last Post SEQadmin2  
    Working...