You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2018. It is now read-only.
I have a user who is attempting to convert a cram file into a bam file, but getting the error below. Do you have any suggestions?
Environment:
RHEL 7.1
openjdk 1.8.0_101
cramtools-3.0
Command and resulting error:
$ java -jar /usr/local/packages/cramtools/cramtools-3.0.jar bam -I 21136_1#1.cram -R /local/projects-t3/SerreDLab-3/kima7/genomes/p_vivax_P01/PlasmoDB-29_PvivaxP01_Genome.fasta -O test.bam
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.sf.cram.CramTools.invoke(CramTools.java:91)
at net.sf.cram.CramTools.main(CramTools.java:121)
Caused by: java.lang.NullPointerException
at htsjdk.samtools.cram.build.CramIO.readFormatDefinition(CramIO.java:168)
at htsjdk.samtools.cram.build.CramIO.readCramHeader(CramIO.java:189)
at net.sf.cram.Cram2Bam.main(Cram2Bam.java:113)
... 6 more