-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task :vcf2bam FAILED #239
Comments
what version of java are you using ? |
@lindenb Greetings Pierre, I am having the same exact issue. I was wondering what version of the Java should I be using? |
at least java 17 |
but you can always use the precompiled jar: https://github.com/lindenb/jvarkit/#download |
@lindenb Thank you, it worked! :) I do have some clarifying questions, I am very new bash. Q1: I built my manifest for the ancestral allele similar to how yours (see Manifest Example) but I keep getting an error (see Error message). I was wondering why this is?Manifest Example: "10|chr10 ANCESTOR_for_chromosome:GRCh37:10: 77,662,404-77,718,023 /usr3/graduate/warrenkb/Candidate_Genes_AA/Human_Ancestral_Condition_chr10.fa" Error Message [warrenkb@scc1 jvarkit]$ java -jar dist/jvarkit.jar vcfancestralalleles \
****Q2: I am having a little trouble dissecting this code, can you help? How I understand it is and how I figure my code will look is a little something like this (see below). ****$ java -jar dist/jvarkit.jar vcfancestralalleles \ ---------------------Stays the same
|
first path starts with a '/' (full path) second is a relative path. Something is wrong here. |
suffix is meaningless |
no |
@lindenb Hi Pierre, thank you for that. I believe something may be wrong with my manifest? I keep getting this error: BUILD SUCCESSFUL in 47s
Should I look to see how my manifest is created? |
attach your manifest in that issue please. |
@lindenb Here is a copy of my manifest. |
this is a windows file.
not a text file, not a tab delimited file. https://unix.stackexchange.com/questions/108271/ |
@lindenb HI Pierre, my apologies, I uploaded the wrong one. This is the correct one. I am still running into the same issue. How I made the the file was in a text editor, converting it into plain text and then saving is as UTF-8. Is my Manifest still wrong? |
it's not a tab delimited file. You used spaces. a return is missing for the last line and it's always a windows file ( CRLF line terminators )
|
@lindenb Hi Pierre, I believe I have fixed the issue (e.g., replaced the spaces with tabs): I wanted to share my code with you and the error that I keep getting. I recently changed the file name to mirror the .fa files and am getting the following error: [SEVERE][VcfAncestralAllele]Cannot read non-existent file: file:///usr3/graduate/warrenkb/Candidate_Genes_AA/Human_Ancestral_Condition_10.fa I was wondering is it because I changed the path and maybe the system has not caught up with it yet? Here is my code. [warrenkb@scc1 human_ancestor]$ module load htslib/1.17 Everything looks about right. |
what is the output of
if it's "file not found", then the path is not correct... |
When I try ./gradlew vcf2bam, it always reports an error
[ant:javac] /lustre/sdb/zhangyaoz/lyr/software/jvarkit/src/main/java/com/github/lindenb/jvarkit/tools/vcf2bam/VcfToBam.java:27: error: cannot access Cigar
[ant:javac] import htsjdk.samtools.Cigar;
[ant:javac] ^
[ant:javac] bad class file: /lustre/sdb/zhangyaoz/lyr/software/jvarkit/lib/com/github/samtools/htsjdk/4.0.1/htsjdk-4.0.1.jar(htsjdk/samtools/Cigar.class)
[ant:javac] class file has wrong version 61.0, should be 52.0
[ant:javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
FAILURE: Build failed with an exception.
Where:
Build file '/lustre/sdb/zhangyaoz/lyr/software/jvarkit/build.gradle' line: 731
What went wrong:
Execution failed for vcf2bam com.github.lindenb.jvarkit.tools.vcf2bam.VcfToBam.
BUILD FAILED in 2s
1 actionable task: 1 executed
The text was updated successfully, but these errors were encountered: