WrightonLabCSU / DRAM

Distilled and Refined Annotation of Metabolism: A tool for the annotation and curation of function for microbial and viral genomes
GNU General Public License v3.0
249 stars 52 forks source link

DRAM-v.py annotate #278

Open Altay88 opened 1 year ago

Altay88 commented 1 year ago

I performed the following command and came across an issue as below. DRAM-v.py annotate -i vs2-pass2/for-dramv/final-viral-combined-for-dramv.fa -v vs2-pass2/for-dramv/viral-affi-contigs-for-dramv.tab -o dramv-annotate --skip_trnascan --threads 32 . Could you help on this matter? Thanks!

Traceback (most recent call last): File "/home/ecovir/anaconda3/envs/vs2/bin/DRAM-v.py", line 161, in args.func(**args_dict) File "/home/ecovir/anaconda3/envs/vs2/lib/python3.10/site-packages/mag_annotator/annotate_vgfs.py", line 451, in annotate_vgfs virsorter_hits = get_virsorter_hits(virsorter_affi_contigs) File "/home/ecovir/anaconda3/envs/vs2/lib/python3.10/site-packages/mag_annotator/annotate_vgfs.py", line 152, in get_virsorter_hits raise ValueError('FASTA headers must not have = or ; before the first space (%s). To run DRAM-v you must ' ValueError: FASTA headers must not have = or ; before the first space (contig=k141.44326_flag=1_coverage=6.5532_length=1175__full). To run DRAM-v you must rerun VIRSorter with = and ; removed from the headers or run DRAM-v.py remove_bad_characters and then rerun DRAM-v