Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mandor
    Junior Member
    • Jul 2012
    • 3

    #1

    Error GATK - Generating interval file

    Hello,

    To generate interval file usign GATK is needed a .bed file to specify the positions of human exome (hg19) (let's say "all_captured_exomes.bed").

    To get this file, I went to UCSC and specify certain parameters to get this .bed file. So, concretely :


    And when I try to launch the aligner :

    java -jar $GATK_HOME/GenomeAnalysisTK.jar -T RealignerTargetCreator \
    -R /home/armand/mnt/cubix/Genomes/index/index/hg19/bwa_path/Homo_sapiens_assembly19.fasta \
    -I $1 -log intervals.log -B:dbsnp,vcf $dbSNP \
    -L ../exome_hg19_captured/all_captured_exomes.bed -o "$core_dir/${core_name}.intervals"


    It gives me this error :
    ##### ERROR MESSAGE: File associated with name ../ref_gen_hg19/exome_hg19_captured/all_captured_exomes.bed is malformed: Interval file could not be parsed in either format. caused by Invalid command line: Contig chr1 given as location, but this contig isn't present in the Fasta sequence dictionary
    Any ideas what could it be?

    Thanks for your time!,
  • bruce01
    Senior Member
    • Mar 2011
    • 160

    #2
    Hi, you need to have the contig/chromosome IDs in the reference.fasta EXACTLY as in the VCF or BED file, and properly sorted. Also any other scaffolds/contigs in the ref.fasta not in the VCF or BED or vice-versa will cause errors. My solution was to remove all scaffolds/contigs not found in the VCF I used from my ref.fasta which has worked (so far!). Good luck!

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
      by SEQadmin2



      CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

      Despite this, “CRISPR helped turn genome editing from a specialized technique into
      ...
      07-31-2026, 11:01 AM
    • SEQadmin2
      Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
      by SEQadmin2


      Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

      The systematic characterization of the human proteome has
      ...
      07-20-2026, 11:48 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Yesterday, 10:35 AM
    0 responses
    7 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 08-06-2026, 07:41 AM
    0 responses
    25 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 08-03-2026, 10:13 AM
    0 responses
    45 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-31-2026, 02:55 AM
    0 responses
    48 views
    0 reactions
    Last Post SEQadmin2  
    Working...