arq5x / lumpy-sv

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

samblaster #212

Closed woodoo46 closed 6 years ago

woodoo46 commented 6 years ago

Hi Lumpy Developers,

When extracting splitted reads and disconcordant reads, do we really need to use samblaster? What will happen if we do not use samblaster?

Thanks.

George

ryanlayer commented 6 years ago

There are other ways to extract discordant and split reads, and you have a preferred one I suggest you use it.

Ryan

On Sep 29, 2017, at 1:27 PM, woodoo46 notifications@github.com wrote:

Hi Lumpy Developers,

When extracting splitted reads and disconcordant reads, do we really need to use samblaster? What will happen if we do not use samblaster?

Thanks.

George

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

woodoo46 commented 6 years ago

We have already bwa generated bam file, can we just use the the following commands to extract diconcordant reads and split reads?

For split reads: ${samtools} view -h ${inbam} | \ ${extract_splitters} -i stdin | \ ${samtools} view -Sb - > ${tempbam}

For disconcordant reads: ${samtools} view -b -F 1294 ${inbam} > ${tempbam}

In other words, if we skip samblaster, the reads extracted are still good for Lumpy?

Thanks.

George

ryanlayer commented 6 years ago

I think so. You can also try the beta version we have in lumpy-sv called lumpy_filter. It should be faster.

On Sun, Oct 1, 2017 at 6:35 AM, woodoo46 notifications@github.com wrote:

We have already bwa generated bam file, can we just use the the following commands to extract diconcordant reads and split reads?

For split reads: ${samtools} view -h ${inbam} | ${extract_splitters} -i stdin | ${samtools} view -Sb - > ${tempbam}

For disconcordant reads: ${samtools} view -b -F 1294 ${inbam} > ${tempbam}

In other words, if we skip samblaster, the reads extracted are still good for Lumpy?

Thanks.

George

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

-- Ryan Layer