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

[BUG] Bug fix to use trim command #192

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

suzuki-shm
Copy link

When I used trim command, I face an error as follows:

$ deblur trim -t 200 test.fasta.gz test_trim.fasta.gz
Traceback (most recent call last):
  File "INSTALL_DIR/bin/deblur", line 684, in <module>
    deblur_cmds()
  File "LIBRARY_DIR/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "LIBRARY_DIR/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "LIBRARY_DIR/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "LIBRARY_DIR/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "LIBRARY_DIR/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "INSTALL_DIR/bin/deblur", line 140, in trim
    for label, seq in trim_seqs(sequence_generator(seqs_fp), trim_length):
TypeError: trim_seqs() missing 1 required positional argument: 'left_trim_len'

I fixed this problem, adding zero to the function.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 88.911% when pulling ca5a72b on TaskeHAMANO:feature/trim_cmd into 4b4badc on biocore:master.

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

Successfully merging this pull request may close these issues.

2 participants