Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • weiyulin
    Junior Member
    • Dec 2010
    • 2

    #1

    vcftools perl script

    I managed to compare the vcf files between two samples using vcftools perl script. However, I got the error messages in the following. It seems to do with the index file. What does it mean? Does this mean the index file is not in the correct format or anything I did it in a wrong way?
    Your help is greatly appreciated

    compare-vcf 441_M1_1x_SNP.vcf 441_2x_SNP.vcf
    [main] fail to load the index file.
    The command "tabix -l 441_M1_1x_SNP.vcf" exited with an error. Is the file tabix indexed?
    at /home/weiyu/Downloads/VCFtools/lib/Vcf.pm line 422
    Vcf::throw('Vcf4_0=HASH(0x9764fc8)', 'The command "tabix -l 441_M1_1x_SNP.vcf" exited with an error...') called at /home/weiyu/Downloads/VCFtools/lib/Vcf.pm line 1547
    Vcf::get_chromosomes('Vcf4_0=HASH(0x9764fc8)') called at /home/weiyu/Downloads/VCFtools/bin/compare-vcf line 100
    main::compare_vcfs('HASH(0x961c818)') called at /home/weiyu/Downloads/VCFtools/bin/compare-vcf line 12
    weiyu@weiyu-VIG555M:~/test_for_vcf_snp$ tabix -l 441_M1_1x_SNP.vcf
    [main] fail to load the index file.
  • ashokrags
    Junior Member
    • Dec 2010
    • 8

    #2
    make sure tabix is in your bin

    Comment

    • ashokrags
      Junior Member
      • Dec 2010
      • 8

      #3
      and also you need to index the files with tabix and then copy the .tbi and .idx files to the directory
      Last edited by ashokrags; 12-07-2010, 03:23 PM.

      Comment

      • weiyulin
        Junior Member
        • Dec 2010
        • 2

        #4
        Thanks a lot!

        It's working well now

        Comment

        • johnadam33
          Member
          • Oct 2010
          • 26

          #5
          Hi Weiyulin and Ashok,
          I am very new to this VCF files and perl. I am also trying to do the same thing, compare the variants with my own data. how can I proceed or for someone who has no idea what pearl is, is there are place where u can find help with this data?
          Thanks,
          John.

          Comment

          • ashokrags
            Junior Member
            • Dec 2010
            • 8

            #6
            Hi John,
            I think that you need to do some research and familirize yourself with the research tools out there. There are many tools and i think it depends on your question and the platform you are using e.g. SOLID or illumina. Perl by itself may not be necessary to learn until you start doing data processing operations and then there are a host of scripting languages out there Perl, Python, R, Ruby, etc etc and your choice is a matter of preference. I wish I could be of more help, but this is really a vast topic and depending on the level of your knowledge the answers are going to vary.
            good luck

            Comment

            • johnadam33
              Member
              • Oct 2010
              • 26

              #7
              Hi Ashok. Thanks for the reply. I have no background in perl or any other ones. I am trying to access the VCF files from 1000 genomes. I am assuming that's what u are talking about when u said comparing two vcf files. So in order for the vcf tools to work, I should extract them to the folder that has the perl program? Also the same with tabix? What is indexing and also how do u set that in linux?

              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, Yesterday, 11:13 AM
              0 responses
              17 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, Yesterday, 10:48 AM
              0 responses
              18 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...