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

Drawing error #12

Open
khoriba opened this issue Aug 2, 2023 · 2 comments
Open

Drawing error #12

khoriba opened this issue Aug 2, 2023 · 2 comments
Labels
question Further information is requested

Comments

@khoriba
Copy link

khoriba commented Aug 2, 2023

Hi,
I am unable to get the diagram with the following error. The input file used is GBK format.
I believe the software has been successfully installed.

$ genovi -i annotation.gbk -s complete -cs paradice -bc white
/home/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

GBK file transformed into faa succesfully. File saved as genovi-temp/contig_1-genovi.faa
output genovi-temp/contig_1-genovi

Deepnog prediction started

deepnog infer genovi-temp/contig_1-genovi.faa --out genovi-temp/contig_1-genovi_prediction_deepnog.csv -db cog2020 -t 1
[2023-08-02 09:02:14] deepnog.client.client - INFO - Starting deepnog
[2023-08-02 09:03:21] deepnog.client.client - INFO - Loading NN-parameters from /home/deepnog_data/cog2020/1/deepnog.pth ...
[2023-08-02 09:03:21] deepnog.client.client - INFO - Accessing dataset from genovi-temp/contig_1-genovi.faa ...
[2023-08-02 09:03:22] deepnog.client.client - INFO - Starting protein sequence group/family inference ...
[2023-08-02 09:03:22] deepnog.learning.inference - INFO - Inference device: cpu
deepnog inference: 2.46kseq [00:45, 53.5seq/s]
[2023-08-02 09:04:08] deepnog.learning.inference - INFO - Inference complete.
[2023-08-02 09:04:09] deepnog.client.client - INFO - Writing prediction to genovi-temp/contig_1-genovi_prediction_deepnog.csv
[2023-08-02 09:04:09] deepnog.client.client - INFO - All done.

Deepnog prediction finished succesfully. Predictions saved as genovi-temp/contig_1-genovi_prediction_deepnog.csv

/home/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
genovi-temp/contig_1-genovi_bands.kar created succesfully.
genovi-temp/contig_1-genovi_tRNA_pos.txt created succesfully.
.
.
.
Transforming GenBank record sequence1.1 to .fna
Done
Drawing 1...
Traceback (most recent call last):
  File "/home/miniconda3/envs/genovi/bin/genovi", line 8, in <module>
    sys.exit(main())
  File "/home/miniconda3/envs/genovi/lib/python3.7/site-packages/scripts/GenoVi.py", line 685, in main
    visualiseGenome(*get_args())
  File "/home/miniconda3/envs/genovi/lib/python3.7/site-packages/scripts/GenoVi.py", line 382, in visualiseGenome
    os.rename("circos.svg", output_file + "-contig_" + str(i) + ".svg")
FileNotFoundError: [Errno 2] No such file or directory: 'circos.svg' -> 'genovi-contig_1.svg'

Thanks

@vsaona
Copy link
Collaborator

vsaona commented Aug 2, 2023

Well, yes, there seems to be an error.

Have you tried the test files to verify the installation is correct? This might happen if not every library is present.
If it works with other files, could you tell us more about this file you're trying to use? What's the source of it? What annotation software was used to create the file? Could you share the file itself?

@vsaona vsaona added the question Further information is requested label Aug 2, 2023
@khoriba
Copy link
Author

khoriba commented Sep 26, 2023

Sorry for my late reply.
I use Prokka for annotation for my bacteria strain.
Sequencing data was processed by Fastq (for QC), Unicycler (using Illumina and Nanopore FQ).

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

No branches or pull requests

2 participants