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

v1.0.8 yields KeyErrors when running test.sh #68

Open
mfansler opened this issue Oct 16, 2022 · 0 comments
Open

v1.0.8 yields KeyErrors when running test.sh #68

mfansler opened this issue Oct 16, 2022 · 0 comments

Comments

@mfansler
Copy link

Running the test.sh file on the v1.0.8 version leads to KeyError in test11 and test14. Pertinent log output:

INFO:umis.umis:Transforming examples/STRT-Seq/dualindex_example_1.fastq.
INFO:umis.umis:Detected dual cellular indexes.
INFO:umis.umis:Detected dual UMI.
Traceback (most recent call last):
  File "/Users/mfansler/mambaforge-arm64/envs/test-umis/bin/umis", line 33, in <module>
    sys.exit(load_entry_point('umis', 'console_scripts', 'umis')())
  File "/Users/mfansler/mambaforge-arm64/envs/test-umis/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/Users/mfansler/mambaforge-arm64/envs/test-umis/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/Users/mfansler/mambaforge-arm64/envs/test-umis/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/mfansler/mambaforge-arm64/envs/test-umis/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/mfansler/mambaforge-arm64/envs/test-umis/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/Users/mfansler/scratch/umis/umis/umis.py", line 299, in fastqtransform
    read1_dict['MB'] = read1_dict['MB1'] + read1_dict['MB2']
KeyError: 'MB1'

# ...

INFO:umis.umis:Transforming examples/Klein-inDrop/klein-v3_R1.fq.
INFO:umis.umis:Detected dual cellular indexes.
INFO:umis.umis:Detected dual UMI.
INFO:umis.umis:Detected sample.
Traceback (most recent call last):
  File "/Users/mfansler/mambaforge-arm64/envs/test-umis/bin/umis", line 33, in <module>
    sys.exit(load_entry_point('umis', 'console_scripts', 'umis')())
  File "/Users/mfansler/mambaforge-arm64/envs/test-umis/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/Users/mfansler/mambaforge-arm64/envs/test-umis/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/Users/mfansler/mambaforge-arm64/envs/test-umis/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/mfansler/mambaforge-arm64/envs/test-umis/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/mfansler/mambaforge-arm64/envs/test-umis/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/Users/mfansler/scratch/umis/umis/umis.py", line 299, in fastqtransform
    read1_dict['MB'] = read1_dict['MB1'] + read1_dict['MB2']
KeyError: 'MB1'

# ...

Files tests/results/test11.fq and tests/correct/test11.fq differ
Files tests/results/test14.fq and tests/correct/test14.fq differ
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

1 participant