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

models total_features_namelist.txt is missing when using mirRge in 'Predict' mode (following conda installation instructions) #10

Open
simon-ty opened this issue Aug 15, 2018 · 3 comments

Comments

@simon-ty
Copy link

Hi miRge development team,

My Institute have a new installation of miRge2.0, which followed the installation using Bioconda. We found a missing file when trying to use 'Predict' mode:

line 647, in main
preprocess_featureFiles(fileToPredict, os.path.join(modelDir, 'total_features_namelist.txt'))
File "miniconda/envs/mirge2/lib/python2.7/site-packages/mirge/utils/preprocess_featureFiles.py", line 49, in preprocess_featureFiles
with open(feature_namelist_file, 'r') as inf:
IOError: [Errno 2] No such file or directory: 'miniconda/envs/mirge2/lib/python2.7/site-packages/mirge/models/total_features_namelist.txt'

I solved it by cloning from GitHub and copying over the 'models' directory to our installation path for mirge. Can you see any issue with fixing it in this way? Please also update your installation instructions/code to fix this for those future users who use Bioconda to install miRge2.0. Thanks and best regards
Simon Yin

@mhalushka
Copy link
Owner

Simon - Thank you for catching that bug. We will start working to get it corrected.

@sarawernig
Copy link

sarawernig commented Dec 14, 2018

I have the same issue. I have installed miRge a week ago, following pip installation instructions. The tool works normally in annotation mode but fails with the same error in predict mode.

Performing quantitation analysis of smallRNAseq.fastq...
It takes: 88.26s

Performing annotation for all of the collasped sequences...
All annotation cycles completed (157.69 sec).

Summarizing and tabulating results...
Summary Complete (40.18 sec)
Annotation of miRge2.0 Completed (286.13 sec)

Performing prediction of novel miRNAs...
Start to predict
Traceback (most recent call last):
  File "/usr/local/bin/miRge2.0", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/mirge/__main__.py", line 647, in main
    preprocess_featureFiles(fileToPredict, os.path.join(modelDir, 'total_features_namelist.txt'))
  File "/usr/local/lib/python2.7/site-packages/mirge/utils/preprocess_featureFiles.py", line 49, in preprocess_featureFiles
    with open(feature_namelist_file, 'r') as inf:
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/site-packages/mirge/models/total_features_namelist.txt

@mhalushka
Copy link
Owner

Ugh. Sorry. The post-doc who is coming to take over the project has been delayed in coming and the former post-doc isn't fixing his errors. You may want to try the Bioconda install and see if that gets the files properly installed. One other group who had errors with the pip install got everything to work for their needs with the Bioconda install.

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

3 participants