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

Slashes on sequence identifiers #38

Open
pirovc opened this issue Jun 23, 2021 · 0 comments
Open

Slashes on sequence identifiers #38

pirovc opened this issue Jun 23, 2021 · 0 comments
Labels

Comments

@pirovc
Copy link
Owner

pirovc commented Jun 23, 2021

If sequence identifiers contain slashes ("/") taxsbp breaks.
Solution is to replace them temporarly internally or use another way to split unique sequences.

Traceback (most recent call last):
  File "/media/files/progs/miniconda3/envs/taxsbp/bin/taxsbp", line 10, in <module>
    sys.exit(main())
  File "/media/files/progs/miniconda3/envs/taxsbp/lib/python3.9/site-packages/taxsbp/taxsbp.py", line 71, in main
    return pack(**vars(args))
  File "/media/files/progs/miniconda3/envs/taxsbp/lib/python3.9/site-packages/taxsbp/taxsbp.py", line 174, in pack
    for r in res:
  File "/media/files/progs/miniconda3/envs/taxsbp/lib/python3.9/site-packages/taxsbp/taxsbp.py", line 473, in generate_results
    parsed_seqid, st, en = split_unique_seqid(seqid)
  File "/media/files/progs/miniconda3/envs/taxsbp/lib/python3.9/site-packages/taxsbp/taxsbp.py", line 512, in split_unique_seqid
    i, pos = unique_seqid.split("/")
ValueError: too many values to unpack (expected 2)
@pirovc pirovc added the bug label Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant