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

Implement sample merging #1026

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

Implement sample merging #1026

wants to merge 11 commits into from

Conversation

Donaim
Copy link
Member

@Donaim Donaim commented Oct 18, 2023

Closes #1036

@Donaim Donaim requested a review from donkirkby October 18, 2023 23:42
@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9a48fe2) 86.42% compared to head (d09fc56) 86.73%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1026      +/-   ##
==========================================
+ Coverage   86.42%   86.73%   +0.30%     
==========================================
  Files          28       29       +1     
  Lines        6109     6233     +124     
==========================================
+ Hits         5280     5406     +126     
+ Misses        829      827       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Donaim Donaim marked this pull request as draft February 12, 2024 17:12
@Donaim Donaim mentioned this pull request Feb 12, 2024
8 tasks
Before this change, the file path was required to be provided,
but in case the target file did not exist, the script acted
as if it was empty.

This way optionality was supported, but in a less obvious way.

After this change, the file path is allowed to be None,
which is treated the same as if it does not exist.
In this update, a new sub-command `merge_samples` has been added to the `micall_docker.py` file. This enables the combination and filtering of FASTQ files from two samples into a single output file. Various arguments have been provided to specify the input files for this new function, allowing for the specification of both the forward and reverse reads of two samples.
The command combines the reads from both samples, creating a single
FASTQ file. During the process, it also performs censoring.
@Donaim Donaim force-pushed the merge_samples branch 3 times, most recently from 9680f4f to ba55472 Compare February 15, 2024 23:43
@Donaim Donaim marked this pull request as ready for review February 15, 2024 23:44
@Donaim Donaim marked this pull request as draft February 15, 2024 23:44
@Donaim Donaim marked this pull request as ready for review February 15, 2024 23:56
Also improve the compression handling.
@Donaim Donaim marked this pull request as draft February 28, 2024 21:27
@Donaim Donaim added this to the near future milestone Mar 11, 2024
@Donaim Donaim modified the milestones: near future, 7.18 Jun 12, 2024
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.

Feature Proposal: a Merger Tool
1 participant