Skip to content

Commit

Permalink
Project updated
Browse files Browse the repository at this point in the history
  • Loading branch information
pcingola committed Sep 13, 2023
1 parent f1d6aaa commit a0f4c06
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 3 deletions.
127 changes: 127 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Current File",
"request": "launch",
"mainClass": "${file}"
},
{
"type": "java",
"name": "Fastq2Fastq",
"request": "launch",
"mainClass": "org.snpeff.Fastq2Fastq",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "PromoterSequences",
"request": "launch",
"mainClass": "org.snpeff.PromoterSequences",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "Qseq2Fastq",
"request": "launch",
"mainClass": "org.snpeff.Qseq2Fastq",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "SnpEff",
"request": "launch",
"mainClass": "org.snpeff.SnpEff",
"projectName": "SnpEff",
"args": "ann GRCh38.mane.1.0.ensembl tests/integration/zzz/test.splice_region_01.vcf"
},
{
"type": "java",
"name": "Zzz",
"request": "launch",
"mainClass": "org.snpeff.Zzz",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "FastqSplit",
"request": "launch",
"mainClass": "org.snpeff.fastq.FastqSplit",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "Genotypes",
"request": "launch",
"mainClass": "org.snpeff.genotypes.Genotypes",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "Hypergeometric",
"request": "launch",
"mainClass": "org.snpeff.probablility.Hypergeometric",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "RankSumNoReplacementSimulate",
"request": "launch",
"mainClass": "org.snpeff.probablility.RankSumNoReplacementSimulate",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "RankSumPdf",
"request": "launch",
"mainClass": "org.snpeff.probablility.RankSumPdf",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "Reactome",
"request": "launch",
"mainClass": "org.snpeff.reactome.Reactome",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "IntHisto",
"request": "launch",
"mainClass": "org.snpeff.snpEffect.IntHisto",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "PurityChange",
"request": "launch",
"mainClass": "org.snpeff.snpEffect.PurityChange",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "SnpEffCmdGenes2Bed",
"request": "launch",
"mainClass": "org.snpeff.snpEffect.commandLine.SnpEffCmdGenes2Bed",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "CompareToEnsembl",
"request": "launch",
"mainClass": "org.snpeff.snpEffect.testCases.integration.CompareToEnsembl",
"projectName": "SnpEff"
},
{
"type": "java",
"name": "CreateSpliceSiteTestCase",
"request": "launch",
"mainClass": "org.snpeff.snpEffect.testCases.integration.CreateSpliceSiteTestCase",
"projectName": "SnpEff"
}
]
}
4 changes: 2 additions & 2 deletions src/main/java/org/snpeff/SnpEff.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ public enum OutputFormat {

// Version info
public static final String SOFTWARE_NAME = "SnpEff";
public static final String REVISION = "f";
public static final String REVISION = "";
public static final String BUILD = Gpr.compileTimeStamp(SnpEff.class);
public static final String BUILD_DATE = Gpr.compileDate(SnpEff.class);
public static final String VERSION_MAJOR = "5.1";
public static final String VERSION_MAJOR = "5.2";
public static final String VERSION_SHORT = VERSION_MAJOR + REVISION;
public static final String VERSION_BUILD = VERSION_SHORT + " (build " + BUILD + ")";
public static final String VERSION_AUTHOR = VERSION_BUILD + ", by " + Pcingola.BY;
Expand Down
5 changes: 4 additions & 1 deletion src/main/java/org/snpeff/snpEffect/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ public class Config implements Serializable, Iterable<String> {
// ---------------+-----------
// 5.1 | 5.0
// ---------------+-----------
// 5.2 | 5.1, 5.0
// ---------------+-----------
public static final String[] COMPATIBLE_WITH_5_2 = {"5.0", "5.1"};
public static final String[] COMPATIBLE_WITH_5_1 = {"5.0"};
public static final Map<String, String[]> DATABASE_COMPATIBLE_VERSIONS = Map.of("5.1", COMPATIBLE_WITH_5_1);
public static final Map<String, String[]> DATABASE_COMPATIBLE_VERSIONS = Map.of("5.1", COMPATIBLE_WITH_5_1, "5.2", COMPATIBLE_WITH_5_2);

private static final long serialVersionUID = 877453207407217465L;

Expand Down

0 comments on commit a0f4c06

Please sign in to comment.