Comments (11)
Dear AlesBucek,
Thanks for your feedback!
Can you tell me that what was the way you used MitoZ? If you installed MitoZ from source code, did you run source activate mitozEnv
firstly when you ran the MitoZ commands?
It seems to be the problem of Java. Could you please check which java you used, e.g. which java
, it should be from the mitozEnv
environment.
Cheers,
Guanliang
from mitoz.
Dear Guanliang,
thanks for your fast response.
I indeed installed MitoZ from source code following instructions in INSTALL.md, paragraph 3.
I run MitoZ from the mitozEnv environment activated by source activate mitozEnv
(Note that the Assemble module runs without any problems)
Java seen from within the environment is
~/anaconda_ete/envs/mitozEnv/bin/java
Thanks and cheers,
Ales
from mitoz.
HI Ales,
I tried the following:
$ source activate mitozEnv
$ cd release_MitoZ_v2.3/bin/annotate/mitfi
$ java -Xmx2048m -jar mitfi.jar -cores 1 -code 5 -evalue 0.001 -onlycutoff mitogenome.fasta > mitogenome.fasta.trna
The output is:
MiTFi - mitochondrial tRNA finder v0.1
#RESULTS (cutoff evalue: 0.001)
#22 hits
My platform information:
$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
$ uname -r
3.10.0-957.12.2.el7.x86_64
Could you have a try as above?
I don't know why it did not work for you.
Cheers,
Guanliang
from mitoz.
Hi Gunliang,
thanks for the instructions.
Running just mitfi.jar as you specified from the MitoZ folder reproduces for me the Java error:
MiTFi - mitochondrial tRNA finder v0.1
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: begin 2, end 0, length 14
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
at java.base/java.lang.String.substring(String.java:1874)
at mitfi.Main.main(Main.java:221)
My system is very similar to yours:
$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
uname -r
3.10.0-327.el7.x86_64
I'll check with the system administrators if they have an explanation but if you have any suggestions or just general idea what might be wrong I'd be thankful for that.
Cheers,
Ales
from mitoz.
The version of java in the environment is:
~/anaconda_ete/envs/mitozEnv/bin/java -version
openjdk version "11.0.1" 2018-10-16 LTS
OpenJDK Runtime Environment Zulu11.2+3 (build 11.0.1+13-LTS)
OpenJDK 64-Bit Server VM Zulu11.2+3 (build 11.0.1+13-LTS, mixed mode)
Is this ok?
from mitoz.
I think your java is fine.
Here is my java:
$ source activate mitozEnv
$ which java
~/soft/bio/Miniconda3/envs/mitozEnv/bin/java
$ java --version
openjdk 11.0.1 2018-10-16 LTS
OpenJDK Runtime Environment Zulu11.2+3 (build 11.0.1+13-LTS)
OpenJDK 64-Bit Server VM Zulu11.2+3 (build 11.0.1+13-LTS, mixed mode)
from mitoz.
Do not if your download is complete.
Check if your md5sum is the same as mine:
$ cd release_MitoZ_v2.3/bin/annotate/mitfi/
$ md5sum mitfi.jar
62c373a654aded66c3e5c5459f67eef5 mitfi.jar
$ md5sum cmsearch
8b0fc1e7b9fc65208050630c9a848ac4 cmsearch
$ md5sum mitfi_config.txt
9c508e843d4e606ae66a0236c7cd5985 mitfi_config.txt
$ md5sum gc.prt
832f30603211c17f37a58faf9a05278b gc.prt
from mitoz.
Md5sums are identical.
from mitoz.
Md5sums are identical.
That's weird.
I don't know what to do next...
Perhaps you should try Docker or Singularity version if possible.
from mitoz.
I'm now running MitoZ with Singularity without any problems. I did not try to resolve the java problem any further. Thanks for your help an suggestions.
from mitoz.
I'm now running MitoZ with Singularity without any problems. I did not try to resolve the java problem any further. Thanks for your help an suggestions.
You're welcome!
Please feel free to open new issues when you have questions.
from mitoz.
Related Issues (20)
- Assembling using spades requires >=v3.15.4 HOT 2
- Perl version issue of MitoZ=3.4 HOT 3
- sqn metadata HOT 2
- summary file incomplete HOT 6
- "Segmentation fault (core dumped)" after (trying to) install HOT 1
- MitoZ annotate error? HOT 1
- Error with filter_by_abundance() HOT 5
- Arguments in findmitoscaf HOT 3
- Use for plant mitochondria annotation HOT 4
- Nanopore sequence for Mitochondrial genome assembly? HOT 4
- Is longer Illumina reads or shorter reads preferred? HOT 3
- mitoz visualize -h HOT 3
- 2 Mitogenomes in One Sample HOT 2
- Other animal taxa? HOT 3
- Error encountered in mt_assembly using mitoz all command HOT 2
- How to introduce breakpoints? HOT 1
- overlap_information file empty and mitogenomes not circularised HOT 1
- How to make cirular map to linear? HOT 1
- I got an error when I install the taxdump.tar.gz into sqlite3, why ? HOT 2
- Open Reading Frame HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mitoz.