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

              • mylaser
                Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by mylaser
                Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                This guide explains everything you need to know about...
                Today, 01:13 AM
              • SEQadmin2
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM
              • SEQadmin2
                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                by SEQadmin2



                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                07-08-2026, 05:17 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 07-09-2026, 10:04 AM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-08-2026, 10:08 AM
              0 responses
              10 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-07-2026, 11:05 AM
              0 responses
              22 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-02-2026, 11:08 AM
              0 responses
              31 views
              0 reactions
              Last Post SEQadmin2  
              Working...