@Immutable public final class Alignment extends Object
| Constructor and Description |
|---|
Alignment(List<Integer> trace)
Create a new aligment with the specified trace.
|
Alignment(String cigar)
Create a new alignment with the specified cigar.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCigar()
Return the cigar for this alignment, if any.
|
Optional<String> |
getCigarOpt()
Return an optional wrapping the cigar for this alignment.
|
List<Integer> |
getTrace()
Return the trace as an immutable list of Integers, or null if
this alignment does not have a trace.
|
Optional<List<Integer>> |
getTraceOpt()
Return an optional wrapping the trace for this alignment.
|
boolean |
hasCigar()
Return true if this alignment has a cigar.
|
int |
hashCode() |
boolean |
hasTrace()
Return true if this alignment has a trace.
|
String |
toString() |
static Alignment |
valueOf(String value)
Parse an alignment from the specified value.
|
public Alignment(String cigar)
cigar - cigar, if anypublic boolean hasCigar()
public String getCigar()
public Optional<String> getCigarOpt()
public boolean hasTrace()
public List<Integer> getTrace()
public Optional<List<Integer>> getTraceOpt()
Copyright © 2013–2020 dishevelled.org. All rights reserved.