Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • fc35802
    Member
    • Nov 2011
    • 27

    #16
    It doesn't work either

    java -Xmx4G -jar /GenoStorage/Software/snpEff_2_0_5d/snpEff.jar eff -c /GenoStorage/Software/snpEff_2_0_5d/snpEff.config -v -onlyCoding true -i vcf -o txt GRCh37.65 varSample02187ATESTE.flt.vcf > snpEff_sample02187A.txt
    00:00:00.000 Reading configuration file '/GenoStorage/Software/snpEff_2_0_5d/snpEff.config'
    00:00:00.225 done
    00:00:00.225 Reading database for genome 'GRCh37.65' (this might take a while)
    java.lang.RuntimeException: java.io.FileNotFoundException: /GenoStorage/Software/snpEff_2_0_5d/./data/GRCh37.65/snpEffectPredictor.bin (No such file or directory)
    at ca.mcgill.mcb.pcingola.Gpr.readFileSerializedGz(Gpr.java:426)
    at ca.mcgill.mcb.pcingola.snpEffect.SnpEffectPredictor.load(SnpEffectPredictor.java:48)
    at ca.mcgill.mcb.pcingola.snpEffect.Config.loadSnpEffectPredictor(Config.java:101)
    at ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEffCmdEff.run(SnpEffCmdEff.java:536)
    at ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEff.run(SnpEff.java:244)
    at ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEff.main(SnpEff.java:72)
    Caused by: java.io.FileNotFoundException: /GenoStorage/Software/snpEff_2_0_5d/./data/GRCh37.65/snpEffectPredictor.bin (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:137)
    at java.io.FileInputStream.<init>(FileInputStream.java:96)
    at ca.mcgill.mcb.pcingola.Gpr.readFileSerializedGz(Gpr.java:421)
    ... 5 more
    00:00:00.235 Finishing up

    Comment

    • gringer
      David Eccles (gringer)
      • May 2011
      • 845

      #17
      That's a different error. You now have another file not found error because it's looking for '/GenoStorage/Software/snpEff_2_0_5d/./data/GRCh37.65/snpEffectPredictor.bin' rather than '/GenoStorage/BasesDados/GRCh37.65/snpEffectPredictor.bin'. You may need to change the data_dir parameter in the config file, because it's looking in the same directory that you mentioned your config file was in.

      Comment

      • fc35802
        Member
        • Nov 2011
        • 27

        #18
        I tried to do that in the snpEff.config file but i won't let me save

        Comment

        • gringer
          David Eccles (gringer)
          • May 2011
          • 845

          #19
          I tried to do that in the snpEff.config file but i won't let me save
          This is the config file that was owned by root that you enabled read access to? If you want to modify that, you'll need to enable write access globally as well, which means that anyone else using your computer system can modify that file (i.e. a bad idea).

          You could also set the ownership of that config file to your user name, which would mean only you (and root) could modify it, or possibly match the ownership of the data directory, then set group permissions for write access (so people in that group can modify the config file):

          Code:
          chown pcadmin:geneusers <location>/snpEff.config
          chmod ug+w <location>/snpEff.config

          Comment

          • fc35802
            Member
            • Nov 2011
            • 27

            #20
            It worked

            Thanks a lot for your help

            java -Xmx4G -jar /GenoStorage/Software/snpEff_2_0_5d/snpEff.jar eff -c /GenoStorage/Software/snpEff_2_0_5d/snpEff.config -v -onlyCoding true -i vcf -o txt hg19 varSample02187ATESTE.flt.vcf > snpEff_sample02187A.txt
            00:00:00.000 Reading configuration file '/GenoStorage/Software/snpEff_2_0_5d/snpEff.config'
            00:00:00.226 done
            00:00:00.226 Reading database for genome 'hg19' (this might take a while)
            00:00:13.202 done
            00:00:13.203 Building interval forest
            00:00:27.282 done.
            00:00:27.282 Predicting variants
            00:00:33.278 Creating summary file: snpEff_summary.html
            00:00:34.303 Creating genes file: snpEff_genes.txt
            00:00:39.008 done.
            00:00:39.010 Finishing up

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Pathogen Surveillance with Advanced Genomic Tools
              by seqadmin




              The COVID-19 pandemic highlighted the need for proactive pathogen surveillance systems. As ongoing threats like avian influenza and newly emerging infections continue to pose risks, researchers are working to improve how quickly and accurately pathogens can be identified and tracked. In a recent SEQanswers webinar, two experts discussed how next-generation sequencing (NGS) and machine learning are shaping efforts to monitor viral variation and trace the origins of infectious...
              03-24-2025, 11:48 AM
            • seqadmin
              New Genomics Tools and Methods Shared at AGBT 2025
              by seqadmin


              This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

              The Headliner
              The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
              03-03-2025, 01:39 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 03-20-2025, 05:03 AM
            0 responses
            41 views
            0 reactions
            Last Post seqadmin  
            Started by seqadmin, 03-19-2025, 07:27 AM
            0 responses
            49 views
            0 reactions
            Last Post seqadmin  
            Started by seqadmin, 03-18-2025, 12:50 PM
            0 responses
            36 views
            0 reactions
            Last Post seqadmin  
            Started by seqadmin, 03-03-2025, 01:15 PM
            0 responses
            192 views
            0 reactions
            Last Post seqadmin  
            Working...