public class MergeIndelFrom extends Object
Step 1: get longest tail after indel: TTGC Step 2: replace all tails with longest tail
ATTTGC TTTTGC ATTTGC ATTTGC ATTTGC A-TTGC A--TTTGC ATTTTGC
Step 3: get max number of dashes in from: 2 Step 4: append dashes to ins and del fields until all have maxFromDash
A--TTTGC T--TTTGC A--TTTGC A--TTTGC A--TTTGC A---TTGC A--TTTGC ATTTTGC
Approach: Split every indel into: refBase, ins, del, tail (one of ins, del will contain only dashes.) Then process steps above
| Modifier and Type | Class and Description |
|---|---|
static class |
MergeIndelFrom.SplitIndel |
| Constructor and Description |
|---|
MergeIndelFrom(Set<Variant.FromTo> fromTos)
Contract assumptions:
Refs and snps are of the form from:a to:b.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFrom() |
Set<String> |
getTos() |
String |
mapped(String originalAllele) |
public MergeIndelFrom(Set<Variant.FromTo> fromTos)
fromTos - Copyright © 2017 Campagne Laboratory. All rights reserved.