Some bacterial linear chromosomes terminate in a hairpin structure, whereby the top strand loops around to become its own complementary strand. This can result in reads that end in a spurious tandem inverted repeat (is actually just the initial strand being read backwards via the complementary strand).
See this figure from Autocycler: https://github.com/rrwick/Autocycler/wiki/Autocycler-dotplot#example-2-linear-plasmid
We could include a check and warning for this.
Alternatively, this could just be a recommended manual check.
Questions for @rrwick @dalofa
- What is the expected size range of these inverted repeats?
- Could they be the full chromosome length?
- Do we see hairpin reads in PacBio libs? I imagine the SMRT bell would only ligate to one end and this might confuse the CCS caller.
- Does this occur in all ONT library prep methods? I'd guess not in tagmentation libraries?
Some bacterial linear chromosomes terminate in a hairpin structure, whereby the top strand loops around to become its own complementary strand. This can result in reads that end in a spurious tandem inverted repeat (is actually just the initial strand being read backwards via the complementary strand).
See this figure from Autocycler: https://github.com/rrwick/Autocycler/wiki/Autocycler-dotplot#example-2-linear-plasmid
We could include a check and warning for this.
Alternatively, this could just be a recommended manual check.
Questions for @rrwick @dalofa