Skip to content

Commit 9079391

Browse files
committed
suggestions from copliot review implemented
1 parent 4d150bc commit 9079391

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

qannotate/src/au/edu/qimr/qannotate/nanno/Annotate.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ public int engage() throws Exception {
161161
return exitStatus;
162162
}
163163

164+
private boolean isStandardContig(ChrPosition thisVcfsCP) {
165+
return thisVcfsCP.getChromosome().startsWith("chr") ? STANDARD_GRCH38_CONTIGS.contains(thisVcfsCP.getChromosome().substring(3)) : STANDARD_GRCH38_CONTIGS.contains(thisVcfsCP.getChromosome());
166+
}
167+
164168

165169
private static List<String> getAnnotationsForPosition(ChrPosition cp, List<AnnotationSource> annotationSources, Executor executor) {
166170
long contigAndPosition = ((ChrPositionUtils.convertContigAndPositionToLong(cp.getChromosome().startsWith("chr") ? cp.getChromosome().substring(3) : cp.getChromosome(), cp.getStartPosition())));

0 commit comments

Comments
 (0)