arq5x / lumpy-sv

lumpy: a general probabilistic framework for structural variant discovery
MIT License
309 stars 118 forks source link

how to filter and svtyper a normal tumor pair #257

Open thelingxichen opened 6 years ago

thelingxichen commented 6 years ago

Hi,

Now I have normal vcf and tumor vcf produced by traditional lumpy seperately. To call genotype, should I: (1) svtyper normal vcf and tumor vcf seperately? (2) use bcftools merge the two vcf into a normal_tumor vcf first, and svtyper the merged vcf?

And for general filtering, is "DP > mean_coverage/5" suitable? Any other suggestion?

Thanks a lot.

ryanlayer commented 6 years ago

Merge first. I am not sure how bcftools merges SVs so you may want to look into that.

That DP seems okay too.

On Jul 23, 2018, at 9:28 PM, Paprika Chan notifications@github.com wrote:

Hi,

Now I have normal vcf and tumor vcf produced by traditional lumpy seperately. To call genotype, should I: (1) svtyper normal vcf and tumor vcf seperately? (2) use bcftools merge the two vcf into a normal_tumor vcf first, and svtyper the merged vcf?

And for general filtering, is "DP > mean_coverage/5" suitable? Any other suggestion?

Thanks a lot.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

jianxinwang commented 5 years ago

I used tumor normal pair for speedseq sv. Now I have both tumor and normal bam files and a two sample vcf file. How do I use SVTyper to make genotype calls? The usage for SVTyper only shows a single bam file.

ryanlayer commented 5 years ago

SVTyper can take multiple bams, but I like to speed this process up by doing the genotyping of the two samples in parallel, then using bcftools to merge the two resulting files into a final call set.

On Thu, Oct 11, 2018 at 9:00 AM jianxinwang notifications@github.com wrote:

I used tumor normal pair for speedseq sv. Now I have both tumor and normal bam files and a two sample vcf file. How do I use SVTyper to make genotype calls? The usage for SVTyper only shows a single bam file.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/arq5x/lumpy-sv/issues/257#issuecomment-428985215, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlDUbOyVLgVaiTl5k4zHcwbulh1rkzsks5uj10agaJpZM4VcBdx .

yaotianran commented 4 years ago

@ryanlayer Do you mean that to be more accurate one should merge two vcf files first by bcftools and feed SVTyper two bam files to get the genotype, while to be faster one should do the genotyping seperately and then merge the results?

ryanlayer commented 4 years ago

Yep.

On Sun, Jul 12, 2020 at 7:37 PM Tianran YAO notifications@github.com wrote:

@ryanlayer https://github.com/ryanlayer Do you mean that to be more accurate one should merge two vcf files first by bcftools and feed SVTyper two bam files to get the genotype, while to be faster one should do the genotyping seperately and then merge the results?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/arq5x/lumpy-sv/issues/257#issuecomment-657314521, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEUGUITBX3VFIKNO6VZZPLR3JQNJANCNFSM4FLQC5YQ .