Comments (5)
Hello @marade.
Thanks for pointing this out.
Could you please share the error log with me to have a better idea of how to fix this?
from genovi.
sequence.gb is a file downloaded from GenBank today:
$ genovi -o genovi/blah -i sequence.gb -s complete
[Errno 2] No such file or directory: 'genovi/blah-temp/contig_1-genovi/blah.faa'
Error when transforming gbk to faa.
/home/ubuntu/miniconda3/envs/genovi/lib/python3.7/site-packages/Bio/GenBank/Scanner.py:1219: BiopythonParserWarning: Premature end of file in sequence data
"Premature end of file in sequence data", BiopythonParserWarning
Traceback (most recent call last):
File "/home/ubuntu/miniconda3/envs/genovi/bin/genovi", line 8, in
sys.exit(main())
File "/home/ubuntu/miniconda3/envs/genovi/lib/python3.7/site-packages/scripts/GenoVi.py", line 685, in main
visualiseGenome(*get_args())
File "/home/ubuntu/miniconda3/envs/genovi/lib/python3.7/site-packages/scripts/GenoVi.py", line 341, in visualiseGenome
sizes, cogs_p, cogs_n, lengths, chrms, hist, wanted_cogs = base(file, temp_folder + "/" + output_file_part, output_file + "/" + output_file, True, True, cogs_classified, cogs_classified, False, True, deepnog_confidence_threshold, verbose, wanted_cogs=wanted_cogs)
File "/home/ubuntu/miniconda3/envs/genovi/lib/python3.7/site-packages/scripts/create_raw.py", line 494, in base
sizes, _, _, lengths = create_kar(gbk_file, tmp, output, complete)
File "/home/ubuntu/miniconda3/envs/genovi/lib/python3.7/site-packages/scripts/create_raw.py", line 139, in create_kar
with open(output_file, 'w') as output:
FileNotFoundError: [Errno 2] No such file or directory: 'genovi/blah-temp/contig_1-genovi/blah_bands.kar'
from genovi.
Hi @marade. I apologize for the delay in replying.
I have committed an update related to the handling of relative paths. It is not yet included in the installable version of GenoVi, but you can find it in the Github repo. It will soon be added to a new version which will include other improvements.
Please do let us know if you have further quesitons.
from genovi.
Sounds good @arodel21. Thanks!
from genovi.
I tried using GenoVi again and found that relative paths still don't work. I see there's a commit related to this here:
The code for this commit is not nearly sufficient to address the problem. I'd like to emphasize that GenoVi is fundamentally broken when it comes to handling paths. I'll recommend again extensive use of Pathlib Path().absolute() or os.path.abspath() so that you can handle relative paths correctly.
from genovi.
Related Issues (19)
- --title 'filename' does not work HOT 8
- GenoVi does not scale well HOT 1
- Error at the DeepNOG step likely related to PyTorch HOT 2
- Python errors in running GenoVi HOT 6
- Output colours used for COGs in plots and legends do not match HOT 1
- jupyter notebook example? HOT 1
- Windows installation HOT 1
- Docker availability HOT 1
- labeling
- problem with NCBI genebank files HOT 1
- Drawing error HOT 2
- Font size changes?
- Issues with DeepNOG file not found + PNG
- Tutorial fails
- Annotating/labelling genes HOT 1
- Issue with installing GenoVi
- Genovi installation problem HOT 3
- OSError: 'seaborn' is not a valid package style 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 genovi.