Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/genepi/imputationserver i…
Browse files Browse the repository at this point in the history
…nto release
  • Loading branch information
abought committed Sep 12, 2023
2 parents 5bb17b6 + 3769d4c commit bf8ec3c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion files/imputationserver-beagle.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id: imputationserver-beagle
name: Genotype Imputation supporting Beagle (Minimac4)
description: This is the new Michigan Imputation Server Pipeline using <a href="https://github.com/statgen/Minimac4">Minimac4</a>. Documentation can be found <a href="http://imputationserver.readthedocs.io/en/latest/">here</a>.<br><br>If your input data is <b>GRCh37/hg19</b> please ensure chromosomes are encoded without prefix (e.g. <b>20</b>).<br>If your input data is <b>GRCh38hg38</b> please ensure chromosomes are encoded with prefix 'chr' (e.g. <b>chr20</b>).
version: 1.7.3
version: 1.7.4
website: https://imputationserver.readthedocs.io
category:

Expand Down
2 changes: 1 addition & 1 deletion files/imputationserver-hla.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id: imputationserver-hla
name: Genotype Imputation HLA (Minimac4)
description: This is the new Michigan Imputation Server Pipeline using <a href="https://github.com/statgen/Minimac4">Minimac4</a>. Documentation can be found <a href="http://imputationserver.readthedocs.io/en/latest/">here</a>.<br><br>If your input data is <b>GRCh37/hg19</b> please ensure chromosomes are encoded without prefix (e.g. <b>20</b>).<br>If your input data is <b>GRCh38hg38</b> please ensure chromosomes are encoded with prefix 'chr' (e.g. <b>chr20</b>).
version: 1.7.3
version: 1.7.4
website: https://imputationserver.readthedocs.io
category:

Expand Down
2 changes: 1 addition & 1 deletion files/imputationserver-pgs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id: imputationserver-pgs
name: Genotype Imputation (PGS Calc Integration)
description: This is the new Michigan Imputation Server Pipeline using <a href="https://github.com/statgen/Minimac4">Minimac4</a>. Documentation can be found <a href="http://imputationserver.readthedocs.io/en/latest/">here</a>.<br><br>If your input data is <b>GRCh37/hg19</b> please ensure chromosomes are encoded without prefix (e.g. <b>20</b>).<br>If your input data is <b>GRCh38hg38</b> please ensure chromosomes are encoded with prefix 'chr' (e.g. <b>chr20</b>).
version: 1.7.3
version: 1.7.4
website: https://imputationserver.readthedocs.io
category:

Expand Down
2 changes: 1 addition & 1 deletion files/minimac4.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id: imputationserver
name: Genotype Imputation (Minimac4)
description: This is the new Michigan Imputation Server Pipeline using <a href="https://github.com/statgen/Minimac4">Minimac4</a>. Documentation can be found <a href="http://imputationserver.readthedocs.io/en/latest/">here</a>.<br><br>If your input data is <b>GRCh37/hg19</b> please ensure chromosomes are encoded without prefix (e.g. <b>20</b>).<br>If your input data is <b>GRCh38hg38</b> please ensure chromosomes are encoded with prefix 'chr' (e.g. <b>chr20</b>).
version: 1.7.3
version: 1.7.4
website: https://imputationserver.readthedocs.io
category:

Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>genepi</groupId>
<artifactId>imputationserver</artifactId>

<version>1.7.3</version>
<version>1.7.4</version>

<packaging>jar</packaging>

Expand All @@ -19,11 +19,11 @@

<repositories>
<repository>
<id>jfrog-genepi-maven</id>
<name>jfrog-genepi-maven</name>
<url>https://genepi.jfrog.io/artifactory/maven/</url>
<id>imed-genepi-maven</id>
<name>imed-genepi-maven</name>
<url>https://genepi.i-med.ac.at/maven</url>
</repository>

<repository>
<id>cloudera</id>
<url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import java.io.IOException;
import java.util.*;

import org.apache.commons.lang.StringEscapeUtils;

import cloudgene.sdk.internal.WorkflowContext;
import cloudgene.sdk.internal.WorkflowStep;
import genepi.hadoop.importer.ImporterFactory;
Expand Down Expand Up @@ -122,7 +124,7 @@ private boolean checkVcfFiles(WorkflowContext context) {
return false;
}
} catch (Exception e) {
context.error("Unable to parse reference panel '" + reference + "': " + e.getMessage());
context.error("Unable to parse reference panel '" + reference + "': " + StringEscapeUtils.escapeHtml(e.getMessage()));
return false;
}

Expand Down Expand Up @@ -248,7 +250,7 @@ private boolean checkVcfFiles(WorkflowContext context) {

} catch (IOException e) {

context.endTask(e.getMessage() + " (see <a href=\"/start.html#!pages/help\">Help</a>).",
context.endTask(StringEscapeUtils.escapeHtml(e.getMessage()) + " (see <a href=\"/start.html#!pages/help\">Help</a>).",
WorkflowContext.ERROR);
return false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

public class ImputationPipeline {

public static final String PIPELINE_VERSION = "michigan-imputationserver-1.7.3";
public static final String PIPELINE_VERSION = "michigan-imputationserver-1.7.4";

public static final String IMPUTATION_VERSION = "minimac4-1.0.2";

Expand Down

0 comments on commit bf8ec3c

Please sign in to comment.