-
Notifications
You must be signed in to change notification settings - Fork 20
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
API to change output suffix to .gz #35
Comments
I agree, this is very unexpected. Could a warning at least be generated when |
I suppose a message could be produced. The man page for bgzip in Rsamtools shows why this is happening. If you have time to make a PR the code of interest is at VariantAnnotation/R/methods-writeVcf.R Line 257 in e966a1b
|
In the interest of bettering @vjcitn
@bschilder
Does this sound fair to you? I can get started once item # 1 on your list is completed ( Best, |
@vjcitn @bschilder Are guys planning to follow up on this? |
@bschilder did you make the PR that you mentioned? i cannot work on the other piece for some time. |
@hpages I didn't make this PR because @vjcitn determined it was beyond the scope of
|
The majority of VCF handling bioinformatics libraries use a
.vcf.gz
suffix, even for block gziped output.writeVcf()
withindex=TRUE
does not support this and forceably sets the suffix to.bgz
.The following commands do exactly the same thing:
Desired behaviour: specifying a
.vcf.gz
as the output file, actually writes to the output file instead of silently changing the suffix of the output file to.vcf.bgz
.The text was updated successfully, but these errors were encountered: