what does -w do in bctools isec? #1984
Replies: 3 comments
-
Mmm, I'd hope the description was clear, but apparently it is not. If you look inside the output files generated with The program will never mix together lines from different input files, as that would break things when samples are present. Any suggestions how to improve the language of the documentation are welcome. |
Beta Was this translation helpful? Give feedback.
-
@pd3 Thank you for your reply. If I use the following:
What is the above command doing? If I run the isec with
What is the correct way to use isec with to generate a vcf. For suggestions, including examples would be great with an intersection of 3 files and put -w 1 and then -w 1 -w 2 . |
Beta Was this translation helpful? Give feedback.
-
The option Apart from that I do not understand what else is unclear and the usage page comes with examples. I hope this clarifies it, please shout if not |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I'd like to take intersection of 3 VCF files with variants in at least two. I use below command:
bcftools isec -c none -n +2 MM-0574.mutect2out.vcf.gz lancet.vcf.gz somatic_merged.vcf.gz -w 1 -Ov -o hh.vcf
that is, Output format in uncompressed VCF, at least two VCFs.
I'm unable to understand how does -w 1 help. It works with -w 2 as well.
It is confusing for me to understand:
list of input files to output given as 1-based indices. With -p and no -w, all files are written
What it is trying to do?
Beta Was this translation helpful? Give feedback.
All reactions