Skip to content

running VAPiD throws IndexError: list index out of range #14

@anajung

Description

@anajung

Hi Ryan,

I ran the command below
python3 vapid3.py WUSTL_000226.consensus.fa template.sbt --spell_check --all

But it throws this Error:

Searching local blast database at all_virus.fasta
Warning: [blastn] Examining 5 or more matches is recommended
KJ473815.1 was the selected reference
BtRs-BetaCoV/GX2013, was the parsed name of the virus
Aligning reference and query...
Traceback (most recent call last):
  File "vapid3.py", line 969, in <module>
    meta_list[x], coverage_list[x], sbt_file_loc, full_name_list[x],nuc_acid_type)
  File "vapid3.py", line 634, in annotate_a_virus
    name_of_virus, our_seq, ref_seq, ref_accession, need_to_rc = blast_n_stuff(strain, strain + SLASH + strain + '.fasta')
  File "vapid3.py", line 253, in blast_n_stuff
    if '_R_' in ali_list[1]:
IndexError: list index out of range

It would be great to receive assistance on this, thanks!
-Ana

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions