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

GroupReadsByUmi optionally allows inter-contig pairs #648

Merged
merged 2 commits into from
Mar 1, 2021
Merged

GroupReadsByUmi optionally allows inter-contig pairs #648

merged 2 commits into from
Mar 1, 2021

Conversation

mjhipp
Copy link
Contributor

@mjhipp mjhipp commented Jan 28, 2021

Closes #634

In order for pairs from different chromosomes to be grouped together, ReadInfo was changed to prioritize the chromosome, and take the lower chromosome of the two reads.

@mjhipp mjhipp marked this pull request as ready for review January 28, 2021 18:56
@mjhipp
Copy link
Contributor Author

mjhipp commented Feb 4, 2021

@nh13 would you rather me make this change optional/experimental?

@nh13
Copy link
Member

nh13 commented Feb 4, 2021

I think an opt-in model would be great, --allow-inter-contig-grouping or some better name than that, but the rest looks great to me!

@mjhipp
Copy link
Contributor Author

mjhipp commented Feb 4, 2021

Thanks @nh13! Updated to make the feature opt-in.

@mjhipp mjhipp changed the title GroupReadsByUmi does not require single contig GroupReadsByUmi optionally allows inter-contig pairs Feb 4, 2021
Copy link
Member

@nh13 nh13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's one place where the contig or refIndex wasn't considered, but should be. If you agree, the rest looks good to me.

@mjhipp mjhipp requested a review from nh13 March 1, 2021 19:47
@nh13 nh13 merged commit 1a98c85 into fulcrumgenomics:master Mar 1, 2021
@nh13
Copy link
Member

nh13 commented Mar 1, 2021

Thank-you @mjhipp this is great!

@nh13 nh13 mentioned this pull request Mar 1, 2021
@mjhipp mjhipp deleted the mh_inter_chrom_group_umi branch March 17, 2021 23:59
@nh13 nh13 mentioned this pull request Aug 19, 2021
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.

Accepting discordant pairs in GroupReadsByUmi
2 participants