Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • fc35802
    replied
    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

    Leave a comment:


  • gringer
    replied
    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

    Leave a comment:


  • fc35802
    replied
    I tried to do that in the snpEff.config file but i won't let me save

    Leave a comment:


  • gringer
    replied
    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.

    Leave a comment:


  • fc35802
    replied
    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

    Leave a comment:


  • gringer
    replied
    What about 'GRCh37.65', as mentioned in the 'Latest' column on this page:

    Leave a comment:


  • fc35802
    replied
    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 hg37 varSample02187ATESTE.flt.vcf > snpEff_sample02187A.txt
    00:00:00.000 Reading configuration file '/GenoStorage/Software/snpEff_2_0_5d/snpEff.config'
    java.lang.RuntimeException: No such genome 'hg37'
    at ca.mcgill.mcb.pcingola.snpEffect.Config.<init>(Config.java:48)
    at ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEffCmdEff.run(SnpEffCmdEff.java:523)
    at ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEff.run(SnpEff.java:244)
    at ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEff.main(SnpEff.java:72)
    00:00:00.225 Finishing up

    That would be nice, but didn't work

    Leave a comment:


  • gringer
    replied
    Disclaimer: I've never used snpEff, so can only guess at these things

    Looking at the snpEff manual, it looks like you need the code name for the genome version, rather than a link to a particular file:
    Code:
    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 hg37

    Leave a comment:


  • fc35802
    replied
    The problem of snpEff.config is solved, now I have another

    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 /GenoStorage/BasesDados/GRCh37.65 varSample02187ATESTE.flt.vcf > snpEff_sample02187A.txt
    00:00:00.000 Reading configuration file '/GenoStorage/Software/snpEff_2_0_5d/snpEff.config'
    java.lang.RuntimeException: No such genome '/GenoStorage/BasesDados/GRCh37.65'
    at ca.mcgill.mcb.pcingola.snpEffect.Config.<init>(Config.java:48)
    at ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEffCmdEff.run(SnpEffCmdEff.java:523)
    at ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEff.run(SnpEff.java:244)
    at ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEff.main(SnpEff.java:72)
    00:00:00.226 Finishing up
    [meusebio@IMMGene1 meusebio]$ ls -lah /GenoStorage/BasesDados/GRCh37.65/
    total 67M
    drwxr-xr-x 2 pcadmin geneusers 43 Feb 17 10:48 .
    drwxrwx---. 6 pcadmin geneusers 84 Feb 17 10:53 ..
    -rw-r--r-- 1 root root 67M Feb 17 10:48 snpEffectPredictor.bin

    Leave a comment:


  • fc35802
    replied
    I don't have permission to do that, but I already asked for it.

    Now I have to wait to see if it worked

    Leave a comment:


  • gringer
    replied
    Originally posted by fc35802 View Post
    I think it didn't fail

    Code:
    ls -lah  '/GenoStorage/Software/snpEff_2_0_5d/snpEff.config'
    -rw------- 1 root root 45K Jan 20 02:10 /GenoStorage/Software/snpEff_2_0_5d/snpEff.config
    This file can only be read by root (oh, and thanks for making it long format so that I noticed this problem). If you're running Java as root, that's a bad idea, but I'm guessing based on the error that this is being run as a more normal user. You can change the file modes to permit reading with chmod:

    Code:
    chmod go+r '/GenoStorage/Software/snpEff_2_0_5d/snpEff.config'
    [because this file is owned by root, you'll only be able to do that as root, or as a suitably privileged user]

    Leave a comment:


  • fc35802
    replied
    I think it didn't fail

    ls -lah '/GenoStorage/Software/snpEff_2_0_5d/snpEff.config'
    -rw------- 1 root root 45K Jan 20 02:10 /GenoStorage/Software/snpEff_2_0_5d/snpEff.config

    Leave a comment:


  • gringer
    replied
    The error mentions that java is unable to find a file at that location. You can check to make sure the file doesn't exist with ls:
    Code:
    ls '/GenoStorage/Software/snpEff_2_0_5d/snpEff.config'
    If ls fails, then the Java command will also fail. Check the capitalisation of names, and make sure that your 'GenoStorage' directory is actually based off the root of the file system (which seems like a strange place to put it).

    Leave a comment:


  • fc35802
    replied
    I tried, but it didin't work

    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 /GenoStorage/BasesDados/GRCh37.64 varSample02187ATESTE.flt.vcf > snpEff_sample02187A.txt
    00:00:00.000 Reading configuration file '/GenoStorage/Software/snpEff_2_0_5d/snpEff.config'
    java.lang.RuntimeException: Cannot find config file '/GenoStorage/Software/snpEff_2_0_5d/snpEff.config'
    at ca.mcgill.mcb.pcingola.snpEffect.Config.read(Config.java:117)
    at ca.mcgill.mcb.pcingola.snpEffect.Config.<init>(Config.java:46)
    at ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEffCmdEff.run(SnpEffCmdEff.java:523)
    at ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEff.run(SnpEff.java:244)
    at ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEff.main(SnpEff.java:72)
    00:00:00.008 Finishing up

    Leave a comment:


  • mehc
    replied
    Yes try it out

    Leave a comment:

Latest Articles

Collapse

  • seqadmin
    Latest Developments in Precision Medicine
    by seqadmin



    Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

    Somatic Genomics
    “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
    Today, 01:16 PM
  • seqadmin
    Recent Advances in Sequencing Analysis Tools
    by seqadmin


    The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
    05-06-2024, 07:48 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Today, 07:15 AM
0 responses
10 views
0 likes
Last Post seqadmin  
Started by seqadmin, Yesterday, 10:28 AM
0 responses
15 views
0 likes
Last Post seqadmin  
Started by seqadmin, Yesterday, 07:35 AM
0 responses
16 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-22-2024, 02:06 PM
0 responses
8 views
0 likes
Last Post seqadmin  
Working...
X