-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ALS-5905: Fix genomic configuration for HPDS with no genomic data
- Loading branch information
Showing
4 changed files
with
69 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
...ing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/GenomicProcessorNoOp.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
package edu.harvard.hms.dbmi.avillach.hpds.processing; | ||
|
||
import edu.harvard.hms.dbmi.avillach.hpds.data.genotype.InfoColumnMeta; | ||
import edu.harvard.hms.dbmi.avillach.hpds.data.genotype.VariantMasks; | ||
import edu.harvard.hms.dbmi.avillach.hpds.data.genotype.caching.VariantBucketHolder; | ||
import reactor.core.publisher.Mono; | ||
|
||
import java.math.BigInteger; | ||
import java.util.Collection; | ||
import java.util.List; | ||
import java.util.Optional; | ||
import java.util.Set; | ||
|
||
public class GenomicProcessorNoOp implements GenomicProcessor { | ||
@Override | ||
public Mono<BigInteger> getPatientMask(DistributableQuery distributableQuery) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public Set<Integer> patientMaskToPatientIdSet(BigInteger patientMask) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public BigInteger createMaskForPatientSet(Set<Integer> patientSubset) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public Mono<Collection<String>> getVariantList(DistributableQuery distributableQuery) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public List<String> getPatientIds() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public Optional<VariantMasks> getMasks(String path, VariantBucketHolder<VariantMasks> variantMasksVariantBucketHolder) { | ||
return Optional.empty(); | ||
} | ||
|
||
@Override | ||
public Set<String> getInfoStoreColumns() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public Set<String> getInfoStoreValues(String conceptPath) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public List<InfoColumnMeta> getInfoColumnMeta() { | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
SMALL_JOB_LIMIT = 100 | ||
SMALL_TASK_THREADS = 1 | ||
LARGE_TASK_THREADS = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
SMALL_JOB_LIMIT = 100 | ||
SMALL_TASK_THREADS = 1 | ||
LARGE_TASK_THREADS = 1 | ||
|
||
#hpds.genomicProcessor.impl=local | ||
#HPDS_GENOMIC_DATA_DIRECTORY=/opt/local/hpds/all/ | ||
|
||
#hpds.genomicProcessor.impl=localDistributed | ||
#HPDS_GENOMIC_DATA_DIRECTORY=/opt/local/hpds/phs0000946/ | ||
|
||
hpds.genomicProcessor.impl=remote | ||
hpds.genomicProcessor.remoteHosts=http://localhost:8090/,http://localhost:8091/ | ||
LARGE_TASK_THREADS = 1 |