Skip to content

About singletons #81

@ddepierre

Description

@ddepierre

Hi Felix,

It's unclear for me how singletons are handled by SNPsplit.
So far I understand it, singletons are cases when only 1 read of the pair is properly aligned in paired-end seq data.
I used SNPsplit with the --singleton option, and when I load the sample.genome1_st.bam on IGV, i can see properly paired reads:
image
With some SAM flags corresponding to "read paired (0x1)" and "read mapped in proper pair (0x2)"

And no singletons are reported when I use samtools flagstats:

$ samtools flagstats sample.genome1_st.bam
16803110 + 0 in total (QC-passed reads + QC-failed reads)
16803110 + 0 primary
0 + 0 secondary
0 + 0 supplementary
0 + 0 duplicates
0 + 0 primary duplicates
16803110 + 0 mapped (100.00% : N/A)
16803110 + 0 primary mapped (100.00% : N/A)
16803110 + 0 paired in sequencing
8421560 + 0 read1
8381550 + 0 read2
16803110 + 0 properly paired (100.00% : N/A)
16803110 + 0 with itself and mate mapped
0 + 0 singletons (0.00% : N/A)
0 + 0 with mate mapped to a different chr
0 + 0 with mate mapped to a different chr (mapQ>=5)

Alignment is done by with bowtie2
bowtie2 -t -q -N 1 -L 25 -X 1000 --no-discordant --no-mixed | samtools view -h -F 1804 -q 15 | samtools sort
And excludes all the reads not mapped as paired.

Does SPNsplit get singletons using SAM flags or using other flags? Why most of my reads are considered singletons by SNPsplit?

Thanks,
David

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions