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

🍏🎨 add/update coverage handling #223

Merged
merged 25 commits into from
Jan 24, 2022
Merged

🍏🎨 add/update coverage handling #223

merged 25 commits into from
Jan 24, 2022

Conversation

evanroyrees
Copy link
Collaborator

🐍 Add typehints to bedtools.py
📝🍏🔥 Remove instances of num_splits
📝🍏🎨 Change --input to accept samplesheets instead of metagenomes
🍏🎨 Update check_samplesheet.py for Autometa-nxf samplesheet validation/formatting
🍏🔥 Remove partially-implemented align_reads.nf subworkflow
🍏🎨 Add align_reads.nf process
🍏🎨 Add when directive to CONTIG_COVERAGE processes
🍏🎨 Add when directive to SPADES_KMER_COVERAGE process
🍏🎨 Change coverages emit to coverage
🍏🎨📝 Update configs to match updated processes
🍏 Add three channels to INPUT_CHECK (reads, coverage, metagenome)
🍏🎨 Add & mix three different coverage channels in AUTOMETA to coverage_ch
🍏🎨 fixes #186
🍏🎨 Add functionality to accept pre-computed coverage tables
🍏🎨 meta.id is now retrieved from provided sample column in input samplesheet

🐍 Add typehints to bedtools.py
📝🍏🔥 Remove instances of num_splits
📝🍏🎨 Change --input to accept samplesheets instead of metagenomes
🍏🎨 Update check_samplesheet.py for Autometa-nxf samplesheet validation/formatting
🍏🔥 Remove partially-implemented align_reads.nf subworkflow
🍏🎨 Add align_reads.nf process
🍏🎨 Add when directive to CONTIG_COVERAGE processes
🍏🎨 Add when directive to SPADES_KMER_COVERAGE process
🍏🎨 Change coverages emit to coverage
🍏🎨📝 Update configs to match updated processes
🍏 Add three channels to INPUT_CHECK (reads, coverage, metagenome)
🍏🎨 Add & mix three different coverage channels in AUTOMETA to coverage_ch
🍏🎨 fixes #186
🍏🎨 Add functionality to accept pre-computed coverage tables
🍏🎨 meta.id is now retrieved from provided sample column in input samplesheet
@evanroyrees evanroyrees self-assigned this Jan 21, 2022
@evanroyrees evanroyrees linked an issue Jan 21, 2022 that may be closed by this pull request
@evanroyrees
Copy link
Collaborator Author

Test run using below samplesheet is in progress (deep-thought). Waiting to make sure CONTIG_COVERAGE workflow is functional.

samplesheet name: test_three_coverage_channels.csv

sample,assembly,fastq_1,fastq_2,coverage_tab,cov_from_contig_headers
78.125Mbp_from_spades,/home/evan/autometa_test_data/autometa_test_data/simulated_communities/78.125Mbp/metagenome.fna.gz,,/home/evan/autometa_test_data/autometa_test_data/simulated_communities/78.125Mbp/reverse_reads.fastq.gz,,1
78.125Mbp_coverage_tab,/home/evan/autometa_test_data/autometa_test_data/simulated_communities/78.125Mbp/metagenome.fna.gz,,,/home/evan/benchmarking/simulated/raw/78.125Mbp_coverage.tsv,0
78.125Mbp_from_alignments,/home/evan/autometa_test_data/autometa_test_data/simulated_communities/78.125Mbp/metagenome.fna.gz,/home/evan/autometa_test_data/autometa_test_data/simulated_communities/78.125Mbp/forward_reads.fastq.gz,/home/evan/autometa_test_data/autometa_test_data/simulated_communities/78.125Mbp/reverse_reads.fastq.gz,,0
{
    "input": "/home/evan/Autometa/test_three_coverage_channels.csv",
    "autometa_image_tag": "dev"
}

Results for 78.125Mbp_from_spades and 78.125Mbp_coverage_tab inputs were successful 👍

🔥 Remove mentions of num_splits and other references in advanced to specifying multiple inputs
@evanroyrees evanroyrees merged commit 5931255 into dev Jan 24, 2022
@evanroyrees evanroyrees deleted the issue-186 branch January 24, 2022 17:36
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.

Add read-based contig coverage instead of spades-based
1 participant