Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mimi_lupton
    Member
    • Oct 2008
    • 19

    #1

    GATK UnifiedGenotyper with reducebam error

    I am using GATK UnifiedGenotyper on multiple bam files for target enrichment sequencing. I get an error which although is a "user error", I can't seem to work it out! Any help would be greatly appreciated.

    I am using Bam files that have been reduced by ReduceReads, I have many bam files, but even when I try the command with just a few I get the same error. Here is an example;

    java -Xmx20g -jar GenomeAnalysisTK.jar -T UnifiedGenotyper \
    -R human_g1k_v37.fasta \
    -D dbsnp_131_b37.final.rod \
    -L baitgroupfile.picard \
    -I sample1.reduced.bam \
    -I sample2.reduced.bam \
    -I sample3.reduced.bam \
    -o out.vcf \
    -stand_call_conf 50.0 \
    -stand_emit_conf 10.0 \
    -G Standard \
    -metrics out.metrics

    here is the error;


    ##### ERROR ------------------------------------------------------------------------------------------
    ##### ERROR A USER ERROR has occurred (version 2.4-3-g2a7af43):
    ##### 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 website and forum for extensive documentation and answers to
    ##### ERROR commonly asked questions http://www.broadinstitute.org/gatk
    ##### ERROR
    ##### ERROR MESSAGE: Invalid command line: No tribble type was provided on the command line and the type of the file could not be determined dynamically. Please add a
    n explicit type tag :NAME listing the correct type from among the supported types:
    ##### ERROR Name FeatureType Documentation
    ##### ERROR BCF2 VariantContext http://www.broadinstitute.org/gatk/g...BCF2Codec.html
    ##### ERROR VCF VariantContext http://www.broadinstitute.org/gatk/g..._VCFCodec.html
    ##### ERROR VCF3 VariantContext http://www.broadinstitute.org/gatk/g...VCF3Codec.html



  • vivek_
    PhD Student
    • Jul 2012
    • 164

    #2
    I think you need to provide a vcf file format for dbSNP file or mention which format it is in this option:

    -D dbsnp_131_b37.final.rod \

    Comment

    • mimi_lupton
      Member
      • Oct 2008
      • 19

      #3
      Thanks for your help! Yes I needed;

      -D:dbsnp,vcf dbsnp_132.b37.vcf

      Comment

      • zgtmann
        Member
        • Feb 2013
        • 13

        #4
        Calling variants from multiple BAM files

        Hello everybody,

        I am pretty new in bioinformatics and I am still learning. Sorry, if my problem is explain here, but I did not find it.. Right know I have some troubles. I have 96 FASTQ files from MiSeq (it is 96x2 - pair-read) and corresponding 96 BAM files. One FASTQ file represent one patient (it was amplicon sequencing workflow - BRCA1,2). I would like to use GATK to find SNPs and annotate them all together. I know how to use GATK -T UnifiedGenotyper for call variants, but when I create BAM.list I still have on my output one vcf file (and I could not assign each vcf to coressponding BAM) :-( so my question is, if I can use my BAM list (each sample have specify name) and get on output the vcf files (with the same name of my input BAM file). so finally I have lets say 96 BAMs and corresponding 96 VCF files with same name. and then use GATK for annotation.

        I hope my question is clear. I am not programmer, so if you can show just example of syntaxes? Or if you have some advice?

        Thank you very much for your time,

        Paul.

        Comment

        • mimi_lupton
          Member
          • Oct 2008
          • 19

          #5
          Hi Paul,
          If I understand correctly you are trying to call SNPs from 96 bam files, but get one vcf file with only one individual?
          You should be calling all your BAM files together to get one VCF, but all your 96 individuals should be contained in that one vcf. If you only get genotypes for one person, then your BAM file headers might be incorrect without the sample label. Check your BAM files and see if the read group section have the sample ID.
          Here is an good explanation of the BAM/SAM header

          http://samtools.sourceforge.net/SAM1.pdf

          Hope that helps!

          Comment

          • zgtmann
            Member
            • Feb 2013
            • 13

            #6
            Hello mimi lupton,

            first thank you for fast response :-)

            Ok, thats right - I have 96 BAM files (it is 96 individual patients) and when I create BAM list ( each row in my list is path/to/my/vcf/file) - and when I use GATK for call variants I will get just one single vcf file on my output - and I dont know how to split it to 96 single vcf files :-( read group is different at each BAM file.

            And I would like to keep naming in my files - so lets say - I have patient1.BAM, patient2.BAM ... patient96.bam > patient1.vcf, patient2.vcf ... patient96.vcf :-)

            It takes long time to rename each sample to original name :-)

            Thank you for help!!

            Paul.

            Comment

            • zgtmann
              Member
              • Feb 2013
              • 13

              #7
              Ok, right now I have multiple vcf file, but I dont know, how to separate it by my input BAMs :-( And I dont know how to annotate my multiple vcf file :-( Please help me somebody !!


              Thank you!!

              Comment

              • mimi_lupton
                Member
                • Oct 2008
                • 19

                #8
                Hi Paul,

                to separate out individuals from you VCF you can use VCFtools



                Annovar is good for annotation;

                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
                27 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
                43 views
                0 reactions
                Last Post SEQadmin2  
                Working...