Skip to content
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

Merged
merged 40 commits into from
Oct 10, 2024
Merged

ALS-6330: Fix variant explorer functionality #115

merged 40 commits into from
Oct 10, 2024

Conversation

ramari16
Copy link
Contributor

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)

ramari16 added 23 commits May 9, 2024 13:34
…tion test. Fix bug caused by bitmask paddings
@ramari16 ramari16 added the enhancement New feature or request label Aug 15, 2024
Copy link
Member

@Luke-Sikina Luke-Sikina left a 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;
Copy link
Contributor Author

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()));
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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"));
}
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@ramari16 ramari16 merged commit 89357dc into genomic-v2 Oct 10, 2024
3 checks passed
@ramari16 ramari16 deleted the ALS-6330 branch October 10, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants