Skip to content

Commit

Permalink
Merge pull request #627 from julie-sullivan/cnvPaddingOverlaps
Browse files Browse the repository at this point in the history
pad overlap queries too
  • Loading branch information
julie-sullivan authored Nov 16, 2022
2 parents db295a1 + 11e9d38 commit 12d636d
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cellbase-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>4.12.0</version>
<version>4.12.1</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion cellbase-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>4.12.0</version>
<version>4.12.1</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion cellbase-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>4.12.0</version>
<version>4.12.1</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,9 @@ private boolean[] getRegulatoryRegionOverlaps(Variant variant) {
return getRegulatoryRegionOverlaps(variant.getChromosome(), variant.getStart());
} else if (VariantType.INDEL.equals(variant.getType()) && StringUtils.isBlank(variant.getReference())) {
return getRegulatoryRegionOverlaps(variant.getChromosome(), variant.getStart() - 1, variant.getEnd());
} else if (VariantType.CNV.equals(variant.getType())) {
return getRegulatoryRegionOverlaps(variant.getChromosome(), variant.getStart() - cnvExtraPadding,
variant.getEnd() + cnvExtraPadding);
// Short deletions and symbolic variants except breakends
} else if (!VariantType.BREAKEND.equals(variant.getType())) {
return getRegulatoryRegionOverlaps(variant.getChromosome(), variant.getStart(), variant.getEnd());
Expand Down
2 changes: 1 addition & 1 deletion cellbase-lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>4.12.0</version>
<version>4.12.1</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion cellbase-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>4.12.0</version>
<version>4.12.1</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion cellbase-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase-test</artifactId>
<version>4.12.0</version>
<version>4.12.1</version>
<packaging>pom</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>4.12.0</version>
<version>4.12.1</version>
<packaging>pom</packaging>

<name>CellBase project</name>
Expand All @@ -22,7 +22,7 @@
</modules>

<properties>
<cellbase.version>4.12.0-SNAPSHOT</cellbase.version>
<cellbase.version>4.12.1</cellbase.version>
<compileSource>1.8</compileSource>
<java-common-libs.version>3.7.5</java-common-libs.version>
<biodata.version>1.5.6</biodata.version>
Expand Down

0 comments on commit 12d636d

Please sign in to comment.