-
Notifications
You must be signed in to change notification settings - Fork 594
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 arg to VariantFiltration to write your own description in Header #8831
Conversation
@droazen could you please suggest a reviewer? |
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 @meganshand -- just one minor comment on naming
@@ -114,6 +114,7 @@ public final class VariantFiltration extends VariantWalker { | |||
public static final String CLUSTER_WINDOW_SIZE_LONG_NAME = "cluster-window-size"; | |||
public static final String MASK_EXTENSION_LONG_NAME = "mask-extension"; | |||
public static final String MASK_NAME_LONG_NAME = "mask-name"; | |||
public static final String MASK_DESCRIPTION_LONG_NAME = "mask-desc"; |
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.
I might spell out mask-description
for this argument name, since the other mask arguments don't have abbreviations
…in VCF header (#8831) Added a --mask-description argument to VariantFiltration to write a custom description for the mask filter in the VCF header
…in VCF header (#8831) Added a --mask-description argument to VariantFiltration to write a custom description for the mask filter in the VCF header
…in VCF header (#8831) Added a --mask-description argument to VariantFiltration to write a custom description for the mask filter in the VCF header
…in VCF header (#8831) Added a --mask-description argument to VariantFiltration to write a custom description for the mask filter in the VCF header
…in VCF header (#8831) Added a --mask-description argument to VariantFiltration to write a custom description for the mask filter in the VCF header
…in VCF header (#8831) Added a --mask-description argument to VariantFiltration to write a custom description for the mask filter in the VCF header
…in VCF header (#8831) Added a --mask-description argument to VariantFiltration to write a custom description for the mask filter in the VCF header
This allows the user to write their own description in the FILTER line in the header. Currently a user can define an interval list to filter with and name that filter, but the description line is always "Doesn't overlap a user-input mask" or "Overlaps a user-input mask", whereas it might be more useful to let the user provide a more detailed description (for example, "Outside of sequencing target intervals").