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

Feature/mm flag modifier #36

Merged
15 commits merged into from
Mar 7, 2019
Merged

Feature/mm flag modifier #36

15 commits merged into from
Mar 7, 2019

Conversation

ghost
Copy link

@ghost ghost commented Mar 7, 2019

@keiranmraine Please review addition of mmFlagModifier and associated tests

@ghost ghost requested a review from keiranmraine March 7, 2019 11:16
Copy link
Contributor

@keiranmraine keiranmraine left a comment

Choose a reason for hiding this comment

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

It all looks good but can you edit the help on bwa_mem.pl?

PCAP-core/bin/bwa_mem.pl

Lines 361 to 372 in 61765fb

=item B<-mmqc>
Mark reads as QCFAIL (0x200, 512) using the mismatchQc program, also adds aux tag 'mm:A:Y'.
WARNING:
bwa_mem.pl will exclude all QCFAIL reads from mapping. If a BAM/CRAM file has been created using
this option please ensure that you pre-process the file to remove the flag 512 if you intend to
reprocess based on that output.
e.g.
bammaskflags maskneg=512 auxexists=mm < mmqc.bam > cleaned.bam

Should now indicate use of mmFlagModifier, or do you think we should just embed it automatically?

@ghost ghost requested a review from keiranmraine March 7, 2019 11:39
bin/bwa_mem.pl Outdated Show resolved Hide resolved
bin/bwa_mem.pl Outdated Show resolved Hide resolved
Copy link
Contributor

@keiranmraine keiranmraine left a comment

Choose a reason for hiding this comment

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

2 things to address

@ghost ghost requested a review from keiranmraine March 7, 2019 11:44
Copy link
Contributor

@keiranmraine keiranmraine left a comment

Choose a reason for hiding this comment

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

What about the example command?

bammaskflags maskneg=512 auxexists=mm < mmqc.bam > cleaned.bam

@ghost ghost requested a review from keiranmraine March 7, 2019 11:51
Copy link
Contributor

@keiranmraine keiranmraine left a comment

Choose a reason for hiding this comment

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

👍

@ghost ghost merged commit b1fe68d into develop Mar 7, 2019
@ghost ghost deleted the feature/mmFlagModifier branch March 7, 2019 13:07
This pull request was closed.
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.

1 participant