-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ALS-6330: Fix variant explorer functionality #115
Conversation
…erging of variant metadata indexes
…tion test. Fix bug caused by bitmask paddings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't build this
/home/luke/code/bch/pic-sure-hpds/common/src/test/java/edu/harvard/hms/dbmi/avillach/hpds/crypto/CryptoDefaultKeyTest.java:[19,10] cannot find symbol
[ERROR] symbol: class BeforeTestClass
[ERROR] location: class edu.harvard.hms.dbmi.avillach.hpds.crypto.CryptoDefaultKeyTest
What am I doing wrong?
private static Logger log = LoggerFactory.getLogger(VariantStore.class); | ||
public static final int BUCKET_SIZE = 1000; | ||
|
||
public static final String VARIANT_SPEC_INDEX_FILE = "variantSpecIndex.javabin"; | ||
public static final String VARIANT_SPEC_INDEX_FILE = VARIANT_SPEC_INDEX_JAVABIN_FILENAME; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get rid of this
@@ -336,6 +342,7 @@ public PhenoCube<?> load(String key) throws Exception { | |||
return ret; | |||
}else { | |||
log.warn("ColumnMeta not found for : [{}]", key); | |||
log.info(Joiner.on(",").join(phenotypeMetaStore.getColumnNames())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete
@@ -31,4 +28,7 @@ public interface GenomicProcessor { | |||
Set<String> getInfoStoreValues(String conceptPath); | |||
|
|||
List<InfoColumnMeta> getInfoColumnMeta(); | |||
|
|||
// todo: make the map value a Set instead of array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete comment
@@ -80,7 +80,7 @@ public VariantIndex load(String infoColumn_valueKey) throws IOException { | |||
int x = 0; | |||
for(Integer variantIndex : variantIndexIntArray) { | |||
// todo: shouldn't this be greater than or equal to 0? 0 is a valid index |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete comment
@Test | ||
public void pathIsVariantSpec_newFormat() { | ||
assertTrue(VariantUtils.pathIsVariantSpec("chr21,5032061,A,G,LOC102723996,missense_variant")); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add not matching tests
@@ -1,6 +1,7 @@ | |||
SMALL_JOB_LIMIT = 100 | |||
SMALL_TASK_THREADS = 1 | |||
LARGE_TASK_THREADS = 1 | |||
VCF_EXCERPT_ENABLED=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rollback until we build new data set
Variant explorer functionality was broken as part of the initial genomic rewrite. This addresses those issues. Additionally, this adds integration tests from the 1k genome data set (ALS-4643)