Skip to content

Commit

Permalink
Use hiv-aapcnt 2018.11-2
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptzou committed Nov 22, 2018
1 parent 9d7f1cd commit f5787de
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DrugResistance/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies {
compile 'com.google.code.gson:gson:2.6.2'
compile project(':Aligner')
compile 'org.fstrf.stanfordAsiInterpreter.resistance:resistance:1.0'
compile 'edu.stanford.hivdb.aapcnt:hiv-aapcnt-java:2018.11'
compile 'edu.stanford.hivdb.aapcnt:hiv-aapcnt-java:2018.11-2'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:1.9.5'
testCompile project(':Utilities')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static void main(String[] args) {
}

private static void exportUnusuals() {
HIVAminoAcidPercents allAAPcnts = HIVAminoAcidPercents.getInstance("naive", "All");
HIVAminoAcidPercents allAAPcnts = HIVAminoAcidPercents.getInstance("all", "All");

// Map<GenePosition, Map<Character, Boolean>>
// unusuals = UnusualMutations.getUnusualMuts();
Expand Down
2 changes: 1 addition & 1 deletion Utilities/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies {
compile 'org.apache.httpcomponents:httpclient:4.5.6'
compile 'org.apache.httpcomponents:httpcore:4.4.10'
compile 'com.mashape.unirest:unirest-java:1.4.9'
compile 'edu.stanford.hivdb.aapcnt:hiv-aapcnt-java:2018.11'
compile 'edu.stanford.hivdb.aapcnt:hiv-aapcnt-java:2018.11-2'
compile project(':TestResources')
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class Mutation implements Comparable<Mutation> {
"([AC-IK-NP-TV-Z.*]+(?:[#_]?[AC-IK-NP-TV-Z.*]+)?|[id_#~-]|[iI]ns(?:ertion)?|[dD]el(?:etion)?)" +
"(?::([ACGTRYMWSKBDHVN-]{3})?)?" +
"\\s*$");
private static final HIVAminoAcidPercents allAAPcnts = HIVAminoAcidPercents.getInstance("naive", "All");
private static final HIVAminoAcidPercents allAAPcnts = HIVAminoAcidPercents.getInstance("all", "All");

private Gene gene;
private String cons;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ public Object get(DataFetchingEnvironment environment) {
.description(
"If the mutation is from unsequenced region.")
.build())
.field(newFieldDefinition()
.type(GraphQLBoolean)
.name("isDRM")
.description(
"If the mutation is a drug resistance mutation (DRM) or not.")
.build())
.field(newFieldDefinition()
.type(GraphQLBoolean)
.name("hasStop")
Expand Down

0 comments on commit f5787de

Please sign in to comment.