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

AMR++ SNPverify error #95

Open
zxl124 opened this issue Feb 10, 2024 · 1 comment
Open

AMR++ SNPverify error #95

zxl124 opened this issue Feb 10, 2024 · 1 comment
Assignees

Comments

@zxl124
Copy link
Collaborator

zxl124 commented Feb 10, 2024

For certain samples, SNPverify errors due to "out of memory", but still errors with the following error message even with increased memory.

Command error:
  concurrent.futures.process._RemoteTraceback:
  """
  Traceback (most recent call last):
    File "/usr/local/lib/python3.8/concurrent/futures/process.py", line 239, in _process_worker
      r = call_item.fn(*call_item.args, **call_item.kwargs)
    File "/usr/local/lib/python3.8/concurrent/futures/process.py", line 198, in _process_chunk
      return [fn(*args) for args in chunk]
    File "/usr/local/lib/python3.8/concurrent/futures/process.py", line 198, in <listcomp>
      return [fn(*args) for args in chunk]
    File "/opt/analysis/nextflow-bin/SNP_Verification.py", line 229, in iterate
      verify(read, gene_variant, config)
    File "/opt/analysis/nextflow-bin/SNP_Verification_Processes/__init__.py", line 49, in verify
      nTupleCheck(read, gene, mapOfInterest, seqOfInterest, config)
    File "/opt/analysis/nextflow-bin/SNP_Verification_Processes/nTupleCheck.py", line 171, in nTupleCheck
      if mt == seqOfInterest[queryIndex]:
  TypeError: string indices must be integers
  """
  The above exception was the direct cause of the following exception:
  Traceback (most recent call last):
    File "/opt/analysis/nextflow-bin/SNP_Verification.py", line 353, in <module>
      main()
    File "/opt/analysis/nextflow-bin/SNP_Verification.py", line 348, in main
      [gene_variant_dict.update(r) for r in results]
    File "/opt/analysis/nextflow-bin/SNP_Verification.py", line 348, in <listcomp>
      [gene_variant_dict.update(r) for r in results]
    File "/usr/local/lib/python3.8/concurrent/futures/process.py", line 484, in _chain_from_iterable_of_lists
      for element in iterable:
    File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 619, in result_iterator
      yield fs.pop().result()
    File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 437, in result
      return self.__get_result()
    File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
      raise self._exception
  TypeError: string indices must be integers

Input file triggering this error at s3://zymo-filesystem/tmp/shotgun_troubleshooting/

@zxl124
Copy link
Collaborator Author

zxl124 commented Feb 22, 2024

deployed a temporary fix in #97

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

2 participants