-
Notifications
You must be signed in to change notification settings - Fork 2
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
Adding single-read functionality to RAW and CLEAN #80
base: harmon_fix_gh_actions_test
Are you sure you want to change the base?
Adding single-read functionality to RAW and CLEAN #80
Conversation
… for single read analyses.
…-multiqc-paired.R
…on. Renamed Multiqc to not be confusing regardings its naming as "Single"
… or paired-end read version of fastp
…read or paired-end read version of fastp
… paired-end read version of SUMMARIZE_MULTIQC
…for paired-end vs single read runs.
…d paired end read runs
…book/notebooks/2024-10-17_crits-christoph-2-4-0.html to create analyses of single and paired-end read data.
…samples being paired-end or not.
… pair information for single read data. Also dropped some code which combines values across read pairs, for single read data. I dropped the renaming of tab_tsv to tab_tsv_2 for paired end data, so I didn't have to create two different versions of the combine step at the end of the subscript. ``` tab <- tab_json %>% inner_join(tab_tsv, by="sample") ```
…ead data, as I instead amended the existing script to be able to handle both single read paired end data.
…ad version. Renamed Multiqc to not be confusing regardings its naming as "Single"" This reverts commit 01ea0c5.
…rizeMultiqc" This reverts commit ad8faf9.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I think this is ready for Will.
… single-read-raw-clean
… single-read-raw-clean
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some feedback, looking overall pretty good.
test-data/nextflow.config
Outdated
@@ -7,12 +7,15 @@ params { | |||
|
|||
// Directories | |||
base_dir = "s3://nao-mgs-wb/test-batch" // Parent for working and output directories (can be S3) | |||
ref_dir = "s3://nao-mgs-wb/index-20241113/output" // Reference/index directory (generated by index workflow) | |||
ref_dir = "s3://nao-mgs-wb/index-20241113/output" // Reference/index directory (generated by index workflow) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
outdated index
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
waiting for Will to create new index.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this update, then this looks good to me.
This PR adds support for single-read (single-end) sequencing data to the RAW and CLEAN stages of the pipeline while maintaining existing paired-end functionality. This allows the pipeline to process both single-end and paired-end sequencing data using the same workflow infrastructure.
Key Changes
read_type
parameter ("single_end" or "paired_end") inrun_dev_se.config
to control pipeline behaviorbin/summarize-multiqc-single.R
so it takes in aread-type
variable, which triggers if/else branches throughout the script to change data processing accordingly.Testing
I added test directories with example data for both single and paired-end cases
test-single-read/
- Contains single-end test data and configurationtest-paired-end/
- Contains paired-end test data and configurationI validated the pipeline changes in this notebook: https://data.securebio.org/simons-notebook/posts/2024-10-24-mgs-single-read-eval/