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

vcffilter -v option is not working #155

Closed
SusanaFreitas opened this issue Jun 6, 2016 · 7 comments
Closed

vcffilter -v option is not working #155

SusanaFreitas opened this issue Jun 6, 2016 · 7 comments
Labels

Comments

@SusanaFreitas
Copy link

Hey!
I have been recently using vcffilter with the -v option
vcffilter -v -f "TYPE = ins" vcf.vcf > out.vcf
and this seems to make exactly the same output as:
vcffilter -f "TYPE = ins" vcf.vcf > out.vcf

Am I doing something wrong or is it a problem with this option in particular?
Cheers

@zeeev
Copy link
Collaborator

zeeev commented Jun 6, 2016

This works.

~/tools/vcflib/bin/vcffilter -f "! ( SVTYPE = INS )" HG005.whamg.vcf

@SusanaFreitas
Copy link
Author

of course... thanks, I forgot about that.
Cheers
Susana

2016-06-06 20:58 GMT+01:00 Zev Kronenberg notifications@github.com:

This works.

~/tools/vcflib/bin/vcffilter -f "! ( SVTYPE = INS )" HG005.whamg.vcf


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#155 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AEgn7e8ku21rNAUG8QIveYRpqed4iB0Bks5qJHvVgaJpZM4IvP7h
.

@zeeev
Copy link
Collaborator

zeeev commented Jun 6, 2016

It's not intuitive.

@SusanaFreitas
Copy link
Author

Hello!

sorry for repeating the question, but I still can't make it...
I have been trying:
vcffilter -f "! ( SVTYPE = INS )" var22_71.vcf > var22_71_ins.vcf
and what I get is basically the same file as the input. I also tried
vcffilter -f "! ( TYPE = INS )" var22_71.vcf > var22_71_ins.vcf
vcffilter -f "! ( TYPE = ins )" var22_71.vcf > var22_71_ins.vcf

because I did not know whether this would matter, and it didn't. What I am
doing now is selecting all positions that I don't want to keep (ins,del and
complex) and remove them with vcftools, but it takes more time (and more
prone to errors). Is it my problem? Am I doing something wrong?
Just to make sure it wasn't a problem with my vcflib version, I
re-installed it and the error persists.

Thanks!!!
Susana

2016-06-06 21:52 GMT+01:00 Zev Kronenberg notifications@github.com:

It's not intuitive.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#155 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AEgn7SiiJOiJ0RFkmkYyM7Ywuy3kjIZLks5qJIh5gaJpZM4IvP7h
.

@tseemann
Copy link
Contributor

tseemann commented Oct 1, 2019

Do you need to quote the string? eg. "! ( TYPE = 'ins' )"
Is SVTYPE the name used in your VCF file?

@github-actions
Copy link

This issue is marked stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the stale label Dec 17, 2020
@github-actions
Copy link

This issue was closed for lack of activity. Feel free to re-open if someone feels like working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants