-
Notifications
You must be signed in to change notification settings - Fork 372
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
Update CollectSamErrorMetrics.java #1340
Conversation
@yfarjoun care to take a look at this? Happy for there to be a test for it, but it ain't my bug.
A few more things I've noticed:
|
@@ -137,7 +137,7 @@ | |||
public ReadBaseStratification.Stratifier STRATIFIER_VALUE; | |||
|
|||
@Argument(shortName = "V", doc = "VCF of known variation for sample. program will skip over polymorphic sites in this VCF and " + | |||
"avoid collecting data on these loci.") | |||
"avoid collecting data on these loci.", optional = true) |
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.
hmmm. Collecting error metrics over variants doesn't make much sense...you could give it dbSNP or something like that if you dont' have truth for that sample....
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.
What if my sample has no variants relative the reference? That’s my real use case! No VCF is required. Think sequencing bacteria or synthetic sequences.
OK. could you at least log a warning so that the (less-advanced) user who might be using this against human will be informed that they should be supplying dbSNP or another appropriate source of known variation for that sample? |
@yfarjoun I have been trying to think of a way to say that you must intentionally say not to use a VCF. Perhaps we could instead make the option required, but if the value is |
Alternatively you could have a hidden boolean variable
ALLOW_MISSING_VCF_DESPITE_THIS_NOT_BEING_RECOMMENDED (or something)
…On Wed, Jun 5, 2019 at 11:09 PM Nils Homer ***@***.***> wrote:
@yfarjoun I have been trying to think of a way to say that you must intentionally say not to use a VCF. Perhaps we could instead make the option required, but if the value is "<EMPTY>" then it means there are no variants to consider? I'd prefer that to an empty VCF.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Superseded by #1476 |
@yfarjoun care to take a look at this? Happy for there to be a test for it, but it ain't my bug.