Closed Liubuntu closed 5 years ago
I’m not sure that I follow; you say that you updated this, but there is no commit to VariantAnnotation?
From: Qian Liu notifications@github.com Reply-To: Bioconductor/VariantAnnotation reply@reply.github.com Date: Monday, October 15, 2018 at 3:37 PM To: Bioconductor/VariantAnnotation VariantAnnotation@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [Bioconductor/VariantAnnotation] updated the returned values for vcfFields() (#13)
Hi Val,
I have modified the returned value for vcfFields()$fixed, which now returns "REF", "ALT", "QUAL", and "FILTER" instead of only specific field, by the original definition:
!> selectMethod("fixed", "VCFHeader")
Method Definition:
function (x)
{
fixed <- c("QUAL", "FILTER", "ALT", "REF")
lst <- slot(x, "header")
lst[names(lst) %in% fixed]
}
Hi @mtmorgan ,
I didn't make commits directly to VariantAnnotation, instead I forked this fold to my account and made a pull request.
Qian
Thanks @vobencha for the merge!
Hi Val,
I have modified the returned value for
vcfFields()$fixed
, which now returns "REF", "ALT", "QUAL", and "FILTER" instead of only specific field, by the original definition:In this way, it's more consistent with the output for
fixed(VCF object)
.Also, in the package of
VCFArray
, we want to include as many columns as possible from the VCF file that could be converted intoVCFArray
object. with the new returned values forvcfFields(...)
, the "REF", "QUAL", and "FILTER" columns are all able to be converted intoVCFArray
object.Let me know for any questions or suggestions. Thanks!
Best, Qian