Skip to content

Database won't build from list of unzipped flat files #34

Description

@IsaacShaffer

The current version (1.0.4) of mtsv_setup gives the following error when attempting to build a database from a list of genbank flat files:

Traceback (most recent call last):
File "/scratch/.../.conda/envs/MTSV_env/bin/mtsv_setup", line 11, in
sys.exit(main())
File "/scratch/.../.conda/envs/MTSV_env/lib/python3.6/site-packages/mtsv/mtsv_prep/main.py", line 458, in main
setup_and_run(parser)
File "/scratch/.../.conda/envs/MTSV_env/lib/python3.6/site-packages/mtsv/mtsv_prep/main.py", line 368, in setup_and_run
oneclickbuild(args)
File "/scratch/.../.conda/envs/MTSV_env/lib/python3.6/site-packages/mtsv/mtsv_prep/main.py", line 94, in oneclickbuild
if x.strip().rsplit(".",1)[1] == "gz":
IndexError: list index out of range
Command exited with non-zero status 1

The specific call is: mtsv_setup database --path 10-Sep-2019 --thread 4 --build_only --taxonomy_path 10-Sep-2019/artifacts/ --ff_list selected_species_open.txt"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions