Unconfigured Ad

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

    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
                Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                by SEQadmin2


                I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                Here are nine questions we think about, in roughly the order they matter, before...
                06-18-2026, 07:11 AM
              • SEQadmin2
                From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                by SEQadmin2


                Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                ...
                06-02-2026, 10:05 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Yesterday, 11:10 AM
              0 responses
              7 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-17-2026, 06:09 AM
              0 responses
              42 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-09-2026, 11:58 AM
              0 responses
              103 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-05-2026, 10:09 AM
              0 responses
              125 views
              0 reactions
              Last Post SEQadmin2  
              Working...