Skip to content
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

BVCN-examples in Issue: Tutorial 2: HMM development and calibration, HmmGenie #6

Open
Tsingsjeen opened this issue Dec 15, 2021 · 6 comments

Comments

@Tsingsjeen
Copy link

All required arguments provided!

Finding ORFs for Acidithiobacillus_ferrooxidans.txt
Finding ORFs for Mariprofundus_ferrooxidans_PV-1.txt
Finding ORFs for Rhodopseudomonas_palustris_TIE-1.txt
Finding ORFs for Shewanella_oneidensis_MR-1.txt
starting main pipeline...
Traceback (most recent call last):xidans.txt: 25%
File "/MagicLamp/MagicLamp.py", line 46, in
HmmGenie.main()
File "
/MagicLamp/genies/HmmGenie.py", line 788, in main
% (metaDict[hmm]["evalue"], int(args.t), outDirectory, i, hmm, outDirectory, i, hmm, args.hmm_dir, hmm, outDirectory, i))
UnboundLocalError: local variable 'metaDict' referenced before assignment

@Arkadiy-Garber
Copy link
Owner

Hi there, could you please send the command that you used that generated this error?

Thanks!
Arkadiy

@Tsingsjeen
Copy link
Author

MagicLamp.py HmmGenie -hmm_dir ~/HMMs/dehalo -hmm_ext hmm -bin_dir ~/reassembled_bins/ -bin_ext fa -out dehalo/ -eval 1E-15

Thanks!

I run the university server, they come to this problem. but for the BVCN-binder, there are no issues. Do you know what happened?

@Tsingsjeen
Copy link
Author

It may be the university server's problem.

@Arkadiy-Garber
Copy link
Owner

Sorry about that, the program has had some updates since that BVCN-binder was created, so there may have been some issues/bugs that popped up. I addressed what seems to be the cause of the above issue. Please try again with a fresh git clone, and let me know if there are issues that continue.

Also, as an FYI, this software does not recognize the '~' character, so please ask the user to use the full path to each file or directory.

Thanks,
Arkadiy

@Tsingsjeen
Copy link
Author

I am refreshed the MagicLamp installation and running, but there is also the same problem about the Hmmgenie to run the tutorial and the details are below:

(magiclamp) [email protected]:/work/chen03/marine_AB/chen_run/meta_DR/fun_magic/test$ MagicLamp.py HmmGenie -hmm_dir HMMs/ -hmm_ext hmm -bin_dir test_data/ -bin_ext txt -out hmmgenie_out -bit HMMs/bitscores.txt
rm: cannot remove 'mainDir.txt': No such file or directory
checking arguments
.
.
.
All required arguments provided!

Finding ORFs for Acidithiobacillus_ferrooxidans.txt
Finding ORFs for Mariprofundus_ferrooxidans_PV-1.txt
Finding ORFs for Rhodopseudomonas_palustris_TIE-1.txt
Finding ORFs for Shewanella_oneidensis_MR-1.txt

Starting main pipeline...
**Failed to parse command line: Option -E takes real-valued arg; got EMPTY on cmdline
Usage: hmmsearch [options]

where most common options are:
-h : show brief help on version and usage

To see more help on available options, do hmmsearch -h

rm: cannot remove 'hmmgenie_out/Acidithiobacillus_ferrooxidans.txt-HMM/MtrC_TIGR03507.hmm.txt': No such file or directory
Traceback (most recent call last):
File "/work/chen03/pkgs_db/MagicLamp/MagicLamp.py", line 46, in
HmmGenie.main()
File "/work/chen03/pkgs_db/MagicLamp/genies/HmmGenie.py", line 688, in main
hmmout = open(outDirectory + "/" + i + "-HMM/" + hmm + ".tblout", "r")
FileNotFoundError: [Errno 2] No such file or directory: 'hmmgenie_out/Acidithiobacillus_ferrooxidans.txt-HMM/MtrC_TIGR03507.hmm.tblout'**

Do you you what happened?

Thanks!

@Arkadiy-Garber
Copy link
Owner

Hi @Tsingsjeen,

Sorry for the year-long delay in getting back to this. HmmGenie has undergone recent changes, including to the above code block where the error is traced to. So please let me know if you're still having issues.

Thanks,
Arkadiy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants