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

TASK-5318 - Implement custom annotator to allow clients private files #262

Merged
merged 8 commits into from
Sep 26, 2024

Conversation

jtarraga
Copy link
Member

@jtarraga jtarraga commented Jun 5, 2024

Implement COSMIC parser
TASK-5318

@jtarraga jtarraga changed the title Implement COSMIC parser TASK-5318 Implement custom annotator to allow clients private files Jun 5, 2024
@jtarraga jtarraga requested a review from j-coll June 5, 2024 11:00
@j-coll j-coll changed the title TASK-5318 Implement custom annotator to allow clients private files TASK-5318 - Implement custom annotator to allow clients private files Jun 5, 2024
return new SequenceOntologyTerm(ConsequenceTypeMappings.getSoAccessionString(name), name);
}

public static String buildVariantId(String chromosome, int start, String reference, String alternate) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused method. This method is intended to be used to create an _id for mongodb. It should not be here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This includes appendChromosome(..) and SEPARATOR_CHAR


public static final char SEPARATOR_CHAR = ':';

public static final String THREEPRIME_OVERLAPPING_NCRNA = "3prime_overlapping_ncrna";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these constant values should be enums

public static final String TRANSLATED_UNPROCESSED_PSEUDOGENE = "translated_unprocessed_pseudogene";
public static final String LRG_GENE = "LRG_gene";

public static final String INTERGENIC_VARIANT = "intergenic_variant";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These values here are partially duplicated with values from ConsequenceTypeMappings

jtarraga and others added 5 commits June 6, 2024 11:36
…bly match, #TASK-5913, #TASK-5318

On branch TASK-5318
Changes to be committed:
	modified:   biodata-formats/src/main/java/org/opencb/biodata/formats/variant/cosmic/CosmicParser.java
	modified:   biodata-formats/src/test/java/org/opencb/biodata/formats/variant/cosmic/CosmicParserTest.java
On branch TASK-5318
Changes to be committed:
	modified:   biodata-models/src/main/java/org/opencb/biodata/models/sequence/SequenceLocation.java
@j-coll j-coll changed the base branch from develop to release-3.2.x August 9, 2024 15:04
@jtarraga jtarraga merged commit 80903ca into release-3.x.x Sep 26, 2024
3 checks passed
@jtarraga jtarraga deleted the TASK-5318 branch September 26, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants