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

tbpore-modules and tests #9

Open
wants to merge 21 commits into
base: tbpore-modules
Choose a base branch
from
Open

tbpore-modules and tests #9

wants to merge 21 commits into from

Conversation

ycode-sh
Copy link

@ycode-sh ycode-sh commented Nov 3, 2024

Hi @abhi18av and @Mxrcon

  1. I have wrapped tbpore-process and tbpore-cluster as separate modules
  2. Could not do the same with tbpore-download (the download keeps failing
    urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution. So decontamination db has to be passed using a Channel (fromPath)
  3. Wrote tests for both processes (tbpore-process and tbpore-cluster)
  4. The tests too keep failing (not becaus of the code but because of minimap2 runtime failure)
    Error calling minimap2 -aL2 -x map-ont -t 6 -o .tbpore/test.decontaminated.sam remove_contam.map-ont.mmi .tbpore/test.fq.gz (return code -9) This seems like a memory problem but I doubt it. I ran the test first on a 32GB RAM PC, and for the benefit of doubt on a 128GB Workstation. Spent about 15 hours of my precious time trying to debug to know avail.

@abhi18av
Copy link
Member

abhi18av commented Nov 6, 2024

Thanks @ycode-sh , does this mean that we can close #6 without merging?

@abhi18av
Copy link
Member

abhi18av commented Nov 6, 2024

Thanks for all your efforts here @ycode-sh , please allow me sometime to go through this PR especially the minimap2 issue 🤔

The tests too keep failing (not becaus of the code but because of minimap2 runtime failure)
Error calling minimap2 -aL2 -x map-ont -t 6 -o .tbpore/test.decontaminated.sam remove_contam.map-ont.mmi .tbpore/test.fq.gz (return code -9) This seems like a memory problem but I doubt it. I ran the test first on a 32GB RAM PC, and for the benefit of doubt on a 128GB Workstation. Spent about 15 hours of my precious time trying to debug to know avail.

@ycode-sh
Copy link
Author

ycode-sh commented Nov 7, 2024

Thanks @ycode-sh , does this mean that we can close #6 without merging?

The modules are okay to merge

@ycode-sh
Copy link
Author

ycode-sh commented Nov 7, 2024

Thanks for all your efforts here @ycode-sh , please allow me sometime to go through this PR especially the minimap2 issue 🤔

I'm not sure but I think there is a problem with how nextflow and tbpore interacts. minimap2 did not fail when running tbpore without nextflow. return code -9 indicates insufficient memory. I'm wondering how that's even possible since the process was run with a 128GB memory workstation and label 'process_high'

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.

3 participants