Skip to content

dataloader default to 100 workers even when passing -t 20. #10

Description

@Mikes92

Hello!

Thank you for making such a powerful, yet simple to use program. I had absolutely no issues installing and running on a small test dataset. I did have a somewhat minor issue. although I passed -t 20, I got a pytorch warning that dataloader was using 100 workers (which was the default).

parser.add_argument("-t", "--threads", type=int, default=100, help="number of threads (default 100)")

it looks like some run_pangaea calls for pangaea.py aren't passing -t $threads, but i'm not sure if this is the culprit. This ended up not causing an issue though as i was running on a smaller test dataset.

I also have a somewhat conceptual question: I have a short & long metagenomic dataset that has relatively deep long-read coverage, generating over 30 contigs >1mb with depth ranging from 20-200x following a metaFlye assembly. Could these contigs be used to better bin the short reads (virtual barcode)? I'm thinking not, because low abundant organisms that aren't represented in the long-read-only contigs wont get a virtual barcode, but they might get barcoded when directly using the long-read data? Grateful for any thoughts you have!

Mike

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions