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

Release/v0.35.0 rc1 #1633

Merged
merged 131 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
c71eb39
Initial GFF loading code
markquintontulloch Jun 26, 2024
ec76bcc
Merge branch 'alpha' into SCRUM-4174
markquintontulloch Jun 27, 2024
5fa2e7c
GFF entity loading
markquintontulloch Jul 2, 2024
90efffb
Executor fixes
markquintontulloch Jul 3, 2024
b99e024
Merge branch 'alpha' into SCRUM-4174
markquintontulloch Jul 3, 2024
e6415fc
Bump migration version no.
markquintontulloch Jul 3, 2024
1ad8669
Change ID handling
markquintontulloch Jul 3, 2024
c3e0e10
Update migration
markquintontulloch Jul 3, 2024
1bead90
Merge branch 'alpha' into SCRUM-4174
markquintontulloch Jul 3, 2024
a6fcacf
Checkstyle fixes
markquintontulloch Jul 3, 2024
0a7b14d
2nd attempt at checkstyle fixes
markquintontulloch Jul 3, 2024
dcd8a00
3rd attempt at checkstyle fixes
markquintontulloch Jul 3, 2024
c3f88d7
Maybe this time
markquintontulloch Jul 3, 2024
3988dc5
Suppress warning
markquintontulloch Jul 3, 2024
78421ad
Remove HideUtilityClassConstructor check
markquintontulloch Jul 3, 2024
6bad602
Rename migration as this will go out with next release
markquintontulloch Jul 3, 2024
10b1e03
Merge pull request #1594 from alliance-genome/SCRUM-4174
markquintontulloch Jul 3, 2024
edf7d9e
Change to use stringlist template for synonyms in controlled vocabulary
VarunReddy1111 Jul 3, 2024
c8daf77
Removed unused import
VarunReddy1111 Jul 3, 2024
66c85cc
Merge branch 'alpha' into SCRUM-4221
VarunReddy1111 Jul 3, 2024
1726e15
Merge pull request #1595 from alliance-genome/SCRUM-4221
VarunReddy1111 Jul 3, 2024
d183482
Fix previous migration errors
markquintontulloch Jul 3, 2024
975cc2b
Remove unnecessary clause
markquintontulloch Jul 3, 2024
138624a
Merge pull request #1596 from alliance-genome/SCRUM-4174_fix
markquintontulloch Jul 3, 2024
99ae13f
Fix total record count
markquintontulloch Jul 3, 2024
a70256c
Merge pull request #1597 from alliance-genome/SCRUM-4174_fix_total_re…
markquintontulloch Jul 4, 2024
9b88a4a
Don't store curie as modEntityId as not unique
markquintontulloch Jul 4, 2024
c5fc880
Include non-coding exons
markquintontulloch Jul 4, 2024
1c8aa03
Merge pull request #1598 from alliance-genome/SCRUM-4174_remove_moden…
markquintontulloch Jul 4, 2024
49a1457
Fully implement geneType
markquintontulloch Jul 4, 2024
ed38d45
Prettify
markquintontulloch Jul 4, 2024
4ed7a98
Fix UI test
markquintontulloch Jul 4, 2024
930b6e6
Merge pull request #1599 from alliance-genome/SCRUM-3820
markquintontulloch Jul 6, 2024
95faa69
Merge branch 'alpha' into gh-actions-mergeback-v0.34.0-rc1-alpha
actions-user Jul 8, 2024
efbf28b
Merge pull request #1601 from alliance-genome/gh-actions-mergeback-v0…
markquintontulloch Jul 8, 2024
3fd08cd
Replace DPO ontology with full FlyBase controlled vocabulary
markquintontulloch Jul 8, 2024
0a8f0b4
Merge pull request #1602 from alliance-genome/SCRUM-2190
markquintontulloch Jul 8, 2024
c2534bc
SCRUM-4185 updated executor, service, and validator
adamgibs Jul 2, 2024
452982b
SCRUM-4185 added service, validator, and dao for sqtrGeneAssociations
adamgibs Jul 8, 2024
dcb3aac
SCRUM-4185 update executor to use sqtr gene association service
adamgibs Jul 9, 2024
644e2cb
SCRUM-4185 update tests
adamgibs Jul 9, 2024
2df4c73
SCRUM-4185 update formatting
adamgibs Jul 9, 2024
3b5b94a
Switch DPO for FBCV on dashboard
markquintontulloch Jul 10, 2024
5c0796e
Merge pull request #1603 from alliance-genome/SCRUM-2190_dashboard_fix
markquintontulloch Jul 10, 2024
f8e308b
Merge branch 'alpha' into SCRUM-4185
adamgibs Jul 10, 2024
5d61a18
Merge pull request #1591 from alliance-genome/SCRUM-4185
adamgibs Jul 10, 2024
3c2f2f7
SCRUM-4236 add CSS for rowEdit column min width
adamgibs Jul 10, 2024
82708e4
Merge pull request #1604 from alliance-genome/SCRUM-4236
adamgibs Jul 10, 2024
1cbdef8
SCRUM-4185 fix dataProvider loading error
adamgibs Jul 10, 2024
461be59
Merge pull request #1605 from alliance-genome/SCRUM-4185
adamgibs Jul 10, 2024
db85c1e
Entities, DAOs and migration
markquintontulloch Jul 11, 2024
bf735fc
Association services
markquintontulloch Jul 11, 2024
cb6ed28
SCRUM-4259 fix construct table error
adamgibs Jul 11, 2024
f100218
Merge pull request #1606 from alliance-genome/SCRUM-4259
adamgibs Jul 11, 2024
437c5ff
Prevent serialisation of associations
markquintontulloch Jul 11, 2024
217df28
Merge branch 'alpha' into SCRUM-4259
markquintontulloch Jul 11, 2024
23a017e
Merge pull request #1607 from alliance-genome/SCRUM-4259_update
markquintontulloch Jul 11, 2024
46e383f
Add prefix to ID attribute
markquintontulloch Jul 11, 2024
22d7186
Merge branch 'alpha' into SCRUM-4174_add_id_prefix
markquintontulloch Jul 11, 2024
1349650
Merge pull request #1608 from alliance-genome/SCRUM-4174_add_id_prefix
markquintontulloch Jul 11, 2024
af9a2bf
SCRUM-4187 update SQTR endpoints to exclude gene associations
adamgibs Jul 11, 2024
4d6196d
SCRUM-4187 add SQTR Gene Association controller and interface
adamgibs Jul 11, 2024
6079543
SCRUM-4187 update whitespace
adamgibs Jul 11, 2024
0270da3
Adding HTPexpressiondataset entities
VarunReddy1111 Jul 12, 2024
5908c6c
Formatting
VarunReddy1111 Jul 12, 2024
4c4772b
More GFF association loading code
markquintontulloch Jul 12, 2024
e8ac1f3
Merge branch 'alpha' into SCRUM-4175
markquintontulloch Jul 12, 2024
b0610a2
Merge pull request #1610 from alliance-genome/SCRUM-4187
adamgibs Jul 12, 2024
c8f0463
Note class used instead of string for related note
VarunReddy1111 Jul 12, 2024
c53bc8b
formatting
VarunReddy1111 Jul 12, 2024
ca69d9d
Fix lazy initialization error
markquintontulloch Jul 14, 2024
ce2f457
Add relation
markquintontulloch Jul 15, 2024
a089cc6
Merge branch 'alpha' into SCRUM-4175
markquintontulloch Jul 15, 2024
72c4679
Checkstyle fixes
markquintontulloch Jul 15, 2024
882813a
Another checkstyle fix
markquintontulloch Jul 15, 2024
2a423d0
Remove FBCV terms attached to phenotypeannotations
markquintontulloch Jul 15, 2024
46a7cee
Merge pull request #1612 from alliance-genome/fix_phenotype_load
markquintontulloch Jul 15, 2024
f4d0c46
Merge branch 'alpha' into SCRUM-4175
markquintontulloch Jul 15, 2024
3add3f0
Bump migration version
markquintontulloch Jul 15, 2024
a7c5956
Merge branch 'alpha' into gh-actions-mergeback-v0.34.0-alpha
actions-user Jul 15, 2024
37beb3c
Added vocabulary terms for HTP Dataset and HTP Dataset Sample
VarunReddy1111 Jul 16, 2024
e1a5d54
changes vocabulary terms name into snake case
VarunReddy1111 Jul 16, 2024
8513ec4
Merge branch 'alpha' into SCRUM-4192
VarunReddy1111 Jul 16, 2024
bc408ff
Changed the version of the migration file
VarunReddy1111 Jul 16, 2024
5847577
Changed the naming convention of vocabulary terms
VarunReddy1111 Jul 16, 2024
b10cb6e
Merge pull request #1614 from alliance-genome/gh-actions-mergeback-v0…
markquintontulloch Jul 16, 2024
71307bd
Merge branch 'alpha' into gh-actions-mergeback-v0.34.1-alpha
actions-user Jul 16, 2024
9598e25
Merge pull request #1616 from alliance-genome/gh-actions-mergeback-v0…
VarunReddy1111 Jul 16, 2024
198d959
Update README.md
VarunReddy1111 Jul 16, 2024
46c11d8
Merge pull request #1618 from alliance-genome/VarunReddy1111-patch-1
VarunReddy1111 Jul 16, 2024
7f0051a
SCRUM-4188 add sqtr gene association tests
adamgibs Jul 16, 2024
3cc3010
SCRUM-4188 checkstyle formatting
adamgibs Jul 16, 2024
e42c307
Remove unnecessary @RequestScoped
markquintontulloch Jul 16, 2024
aac884a
Merge branch 'alpha' into SCRUM-4175
markquintontulloch Jul 16, 2024
ba2c92a
SCRUM-4188 update completed records exepected count
adamgibs Jul 17, 2024
9b4304e
Merge pull request #1611 from alliance-genome/SCRUM-4175
markquintontulloch Jul 17, 2024
eb35c88
Merge branch 'alpha' into SCRUM-4188
adamgibs Jul 17, 2024
14ab773
Merge pull request #1619 from alliance-genome/SCRUM-4188
adamgibs Jul 17, 2024
1849006
Return assembly name so available for association loads
markquintontulloch Jul 18, 2024
c65202a
Merge pull request #1620 from alliance-genome/SCRUM-4175_fix
markquintontulloch Jul 18, 2024
944c076
Remove reverse associations
markquintontulloch Jul 19, 2024
2542437
Remove unused imports
markquintontulloch Jul 19, 2024
ba8426e
Remove more unusued imports
markquintontulloch Jul 19, 2024
7b38b06
Merge pull request #1621 from alliance-genome/SCRUM-4175_lazy_initial…
markquintontulloch Jul 19, 2024
c312d63
Replaced structural reasoner with ELK reasoner
VarunReddy1111 Jul 24, 2024
bbebddb
skip SQTR Gene Association test for now
adamgibs Jul 24, 2024
6364efa
Merge pull request #1624 from alliance-genome/skip-test
adamgibs Jul 24, 2024
985ba2a
Merge branch 'alpha' into SCRUM-3886
oblodgett Jul 24, 2024
d08b201
Merge pull request #1622 from alliance-genome/SCRUM-3886
VarunReddy1111 Jul 24, 2024
2b36e97
SCRUM-4277 added obsolete filtering to all mod settings
adamgibs Jul 24, 2024
d3cff31
Merge pull request #1625 from alliance-genome/SCRUM-4277
adamgibs Jul 25, 2024
aafab68
SCRUM-4277 add filter to default mod
adamgibs Jul 25, 2024
3bc7247
Merge branch 'alpha' into SCRUM-4277
adamgibs Jul 25, 2024
a617ff9
Merge pull request #1626 from alliance-genome/SCRUM-4277
adamgibs Jul 25, 2024
b687b2a
Adding HTPexpressiondataset entities
VarunReddy1111 Jul 12, 2024
e061e77
Formatting
VarunReddy1111 Jul 12, 2024
4f2460b
Note class used instead of string for related note
VarunReddy1111 Jul 12, 2024
730e7e4
formatting
VarunReddy1111 Jul 12, 2024
a064080
Added vocabulary terms for HTP Dataset and HTP Dataset Sample
VarunReddy1111 Jul 16, 2024
45a3c6c
changes vocabulary terms name into snake case
VarunReddy1111 Jul 16, 2024
e600f55
Changed the version of the migration file
VarunReddy1111 Jul 16, 2024
1086337
Changed the naming convention of vocabulary terms
VarunReddy1111 Jul 16, 2024
a3a266a
New model changes according to LinkMl
VarunReddy1111 Jul 26, 2024
ccca5b5
Merge branch 'alpha' into SCRUM-4192
VarunReddy1111 Jul 26, 2024
2ccbef0
model changes
VarunReddy1111 Jul 26, 2024
a515e57
Model changes
VarunReddy1111 Jul 26, 2024
c49e1f7
removed old migration file
VarunReddy1111 Jul 26, 2024
97954bb
Changed the class name
VarunReddy1111 Jul 29, 2024
6d39216
Added linkml version
VarunReddy1111 Jul 29, 2024
b8827f2
Removed unused import
VarunReddy1111 Jul 29, 2024
a026dc0
Merge pull request #1609 from alliance-genome/SCRUM-4192
VarunReddy1111 Jul 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ As the code goes through the different stages, it becomes more and more stable a
* Incrementing the `MAJOR` or `MINOR` release numbers as appropriate when
the previous release candidate was (or will be) promoted to a full release
and reset to rc1 for the next release.
* When choosing an alpha release make sure to include the Pull Requests that may have fixed bugs shortly after the sprint review, if they needed to be included in beta release.
4. Create a release/v`x`.`y`.`z`-rc`a` branch from the commit on the alpha branch
that was chosen earlier to be promoted.
```bash
Expand Down
2 changes: 1 addition & 1 deletion checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<module name="LeftCurly" />
<module name="NeedBraces" />
<module name="RightCurly" />
<module name="HideUtilityClassConstructor" />
<!-- <module name="HideUtilityClassConstructor" />-->
<module name="EmptyStatement" />
<module name="EqualsHashCode" />
<module name="InnerAssignment" />
Expand Down
8 changes: 7 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,13 @@
<dependency>
<groupId>net.sourceforge.owlapi</groupId>
<artifactId>owlapi-distribution</artifactId>
<version>5.1.19</version>
<version>5.5.0</version>
</dependency>

<dependency>
<groupId>io.github.liveontologies</groupId>
<artifactId>elk-owlapi</artifactId>
<version>0.6.0</version>
</dependency>

<dependency>
Expand Down
21 changes: 11 additions & 10 deletions src/main/cliapp/src/components/GenericDataTable/GenericDataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { EntityDetailsAction } from '../Actions/EntityDetailsAction';
import { filterColumns, orderColumns, getIdentifier } from '../../utils/utils';
import { useGenericDataTable } from './useGenericDataTable';

import style from './styles.module.scss';
export const GenericDataTable = (props) => {
const {
tableName,
Expand Down Expand Up @@ -160,8 +161,8 @@ export const GenericDataTable = (props) => {

const rowEditorFilterNameHeader = (options) => {
return (
<div className="p-column-header-content">
<span className="p-column-title">Filters</span>
<div>
<span className="p-column-title text-center">Filters</span>
</div>
);
};
Expand Down Expand Up @@ -325,13 +326,13 @@ export const GenericDataTable = (props) => {
<Column
field="rowEditor"
rowEditor
className={'p-text-center p-0 min-w-3rem max-w-3rem text-base'}
className={`text-center max-w-7 ${style.rowEditorColumn} p-0 text-base`}
filter
filterElement={rowEditorFilterNameHeader}
showFilterMenu={false}
bodyStyle={{ textAlign: 'center' }}
frozen
headerClassName="surface-0 w-3rem sticky"
headerClassName={`surface-0 max-w-7rem ${style.rowEditorColumn} sticky`}
/>
)}
{deletionEnabled && (
Expand All @@ -341,10 +342,10 @@ export const GenericDataTable = (props) => {
body={(props) => deleteAction(props, isInEditMode)}
filterElement={rowEditorFilterNameHeader}
showFilterMenu={false}
className={`p-text-center p-0 min-w-3rem max-w-3rem ${isEditable ? 'visible' : 'hidden'}`}
className={`text-center p-0 max-w-3rem ${isEditable ? 'visible' : 'hidden'}`}
bodyStyle={{ textAlign: 'center' }}
frozen
headerClassName="surface-0 w-3rem sticky"
headerClassName="surface-0 max-w-3rem sticky"
/>
)}
{duplicationEnabled && (
Expand All @@ -357,10 +358,10 @@ export const GenericDataTable = (props) => {
<DuplicationAction props={props} handleDuplication={handleDuplication} disabled={isInEditMode} />
)}
showFilterMenu={false}
className={`p-text-center p-0 min-w-3rem max-w-3rem ${isEditable ? 'visible' : 'hidden'}`}
className={`text-center p-0 max-w-3rem ${isEditable ? 'visible' : 'hidden'}`}
bodyStyle={{ textAlign: 'center' }}
frozen
headerClassName="surface-0 w-3rem sticky"
headerClassName="surface-0 max-w-3rem sticky"
/>
)}
{hasDetails && (
Expand All @@ -369,10 +370,10 @@ export const GenericDataTable = (props) => {
editor={(props) => <EntityDetailsAction identifier={getIdentifier(props.rowData)} disabled={true} />}
body={(props) => <EntityDetailsAction identifier={getIdentifier(props)} disabled={isInEditMode} />}
showFilterMenu={false}
className={`p-text-center p-0 min-w-3rem max-w-3rem ${isEditable ? 'visible' : 'hidden'}`}
className={`text-center p-0 max-w-3rem ${isEditable ? 'visible' : 'hidden'}`}
bodyStyle={{ textAlign: 'center' }}
frozen
headerClassName="surface-0 w-3rem sticky"
headerClassName="surface-0 max-w-3rem sticky"
/>
)}
{columnList}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.rowEditorColumn{
min-width : 6rem !important;
}
2 changes: 1 addition & 1 deletion src/main/cliapp/src/constants/Classes.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const CLASSES = Object.freeze({
WBPhenotypeTerm: { name: 'WBPheno', link: '/#/ontology/wbpheno', type: 'ontology' },
PATOTerm: { name: 'PATO', link: '/#/ontology/pato', type: 'ontology' },
HPTerm: { name: 'HP', link: '/#/ontology/hp', type: 'ontology' },
DPOTerm: { name: 'DPO', link: '/#/ontology/dpo', type: 'ontology' },
FBCVTerm: { name: 'FBCV', link: '/#/ontology/fbcv', type: 'ontology' },
MMOTerm: { name: 'MMO', link: '/#/ontology/mmo', type: 'ontology' },
APOTerm: { name: 'APO', link: '/#/ontology/apo', type: 'ontology' },
MITerm: { name: 'MI', link: '/#/ontology/mi', type: 'ontology' },
Expand Down
5 changes: 5 additions & 0 deletions src/main/cliapp/src/constants/FilterFields.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,10 @@ export const FIELD_SETS = Object.freeze({
filterName: 'geneticSexFilter',
fields: ['geneticSex.name'],
},
geneTypeFieldSet: {
filterName: 'geneTypeFilter',
fields: ['geneType.curie', 'geneType.name'],
},
gmiAggregationFieldSet: {
filterName: 'gmiAggregationFilter',
fields: ['relation.name'],
Expand Down Expand Up @@ -788,6 +792,7 @@ export const FILTER_CONFIGS = Object.freeze({
geneSymbolFilterConfig: { filterComponentType: 'input', fieldSets: [FIELD_SETS.geneSymbolFieldSet] },
geneSynonymsFilterConfig: { filterComponentType: 'input', fieldSets: [FIELD_SETS.geneSynonymsFieldSet] },
geneSystematicNameFilterConfig: { filterComponentType: 'input', fieldSets: [FIELD_SETS.geneSystematicNameFieldSet] },
geneTypeFilterConfig: { filterComponentType: 'input', fieldSets: [FIELD_SETS.geneTypeFieldSet] },
geneticModifiersFilterConfig: { filterComponentType: 'input', fieldSets: [FIELD_SETS.geneticModifiersFieldSet] },
idExampleFilterConfig: { filterComponentType: 'input', fieldSets: [FIELD_SETS.idExampleFieldSet] },
idPatternFilterConfig: { filterComponentType: 'input', fieldSets: [FIELD_SETS.idPatternFieldSet] },
Expand Down
1 change: 1 addition & 0 deletions src/main/cliapp/src/constants/SortFields.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export const SORT_FIELDS = Object.freeze([
'geneSymbol.displayText',
'geneSecondaryIds.secondaryId',
'geneSystematicName.displayText',
'geneType.name',
'inchi',
'inchiKey',
'iupac',
Expand Down
8 changes: 8 additions & 0 deletions src/main/cliapp/src/containers/genesPage/GenesTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { TextDialogTemplate } from '../../components/Templates/dialog/TextDialog
import { ListDialogTemplate } from '../../components/Templates/dialog/ListDialogTemplate';
import { TaxonTemplate } from '../../components/Templates/TaxonTemplate';
import { BooleanTemplate } from '../../components/Templates/BooleanTemplate';
import { OntologyTermTemplate } from '../../components/Templates/OntologyTermTemplate';

import { SearchService } from '../../service/SearchService';

Expand Down Expand Up @@ -191,6 +192,13 @@ export const GenesTable = () => {
filter: true,
filterConfig: FILTER_CONFIGS.geneSystematicNameFilterConfig,
},
{
field: 'geneType.name',
header: 'Gene Type',
body: (rowData) => <OntologyTermTemplate object={rowData.geneType} />,
sortable: true,
filterConfig: FILTER_CONFIGS.geneTypeFilterConfig,
},
{
field: 'taxon.name',
header: 'Taxon',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ describe('<GenesPage />', () => {
const systematicNameTd = await result.findByText('C35C5.5');
const taxonTd = await result.findByText(/Caenorhabditis elegans/i);
const xrefsTd = await result.findByText(/WBGene00003771Xref \(gene\)/);
const geneTypeTd = await result.findByText(/protein_coding_gene/i);

await waitFor(() => {
expect(modEntityIdTd).toBeInTheDocument();
Expand All @@ -56,6 +57,7 @@ describe('<GenesPage />', () => {
expect(systematicNameTd).toBeInTheDocument();
expect(taxonTd).toBeInTheDocument();
expect(xrefsTd).toBeInTheDocument();
expect(geneTypeTd).toBeInTheDocument();
});
});
});
7 changes: 7 additions & 0 deletions src/main/cliapp/src/containers/genesPage/mockData/mockData.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ export const data = {
curie: 'NCBITaxon:6239',
name: 'Caenorhabditis elegans',
},
geneType: {
internal: false,
obsolete: false,
curie: 'SO:0001272',
name: 'tRNA_gene',
id: 25665,
},
dataProvider: {
internal: false,
obsolete: false,
Expand Down
2 changes: 1 addition & 1 deletion src/main/cliapp/src/containers/layout/SiteLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ export const SiteLayout = (props) => {
},
],
},
{ label: 'Flybase Controlled Vocabulary (FBcv)', icon: 'pi pi-fw pi-home', to: '/ontology/fbcv' },
{ label: 'Gene Ontology (GO)', icon: 'pi pi-fw pi-home', to: '/ontology/go' },
{ label: 'Genotype Ontology (GENO)', icon: 'pi pi-fw pi-home', to: '/ontology/geno' },
{ label: 'Measurement Method Ontology (MMO)', icon: 'pi pi-fw pi-home', to: '/ontology/mmo' },
Expand All @@ -304,7 +305,6 @@ export const SiteLayout = (props) => {
icon: 'pi pi-fw pi-home',
to: '/ontology/wbpheno',
},
{ label: 'Drosophila Phenotype Ontology (DPO)', icon: 'pi pi-fw pi-home', to: '/ontology/dpo' },
{ label: 'Human Phenotype Ontology (HP)', icon: 'pi pi-fw pi-home', to: '/ontology/hp' },
{ label: 'Mammalian Phenotype Ontology (MP)', icon: 'pi pi-fw pi-home', to: '/ontology/mp' },
{ label: 'Xenopus Phenotype Ontology (XPO)', icon: 'pi pi-fw pi-home', to: '/ontology/xpo' },
Expand Down
4 changes: 2 additions & 2 deletions src/main/cliapp/src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,10 +472,10 @@ export default (
)}
/>
<SecureRoute
path="/ontology/dpo"
path="/ontology/fbcv"
render={() => (
<ErrorBoundary>
<GeneralOntologyComponent name="DPO" endpoint="dpoterm" />
<GeneralOntologyComponent showNamespace={true} name="FBcv" endpoint="fbcvterm" />
</ErrorBoundary>
)}
/>
Expand Down
4 changes: 3 additions & 1 deletion src/main/cliapp/src/service/DataLoadService.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ export class DataLoadService extends BaseAuthService {
getBackendBulkLoadTypes(loadType) {
const bulkLoadTypes = {
BulkFMSLoad: [
'GFF',
'HTPDATASET',
'INTERACTION-GEN',
'INTERACTION-MOL',
'MOLECULE',
Expand Down Expand Up @@ -121,9 +123,9 @@ export class DataLoadService extends BaseAuthService {
'CMO',
'DAO',
'DO',
'DPO',
'ECO',
'EMAPA',
'FBCV',
'FBDV',
'GENO',
'GO',
Expand Down
43 changes: 31 additions & 12 deletions src/main/cliapp/src/service/TableStateService.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ const modTableSettings = {
'dataProvider.sourceOrganization.fullName': { queryString: 'RGD', tokenOperator: 'AND' },
'dataProvider.sourceOrganization.shortName': { queryString: 'RGD', tokenOperator: 'AND' },
},
obsoleteFilter: {
obsolete: { queryString: 'false' },
},
},
tableKeyName: 'DiseaseAnnotations',
tableSettingsKeyName: 'DiseaseAnnotationsTableSettings',
Expand Down Expand Up @@ -93,6 +96,9 @@ const modTableSettings = {
'dataProvider.sourceOrganization.fullName': { queryString: 'SGD', tokenOperator: 'AND' },
'dataProvider.sourceOrganization.shortName': { queryString: 'SGD', tokenOperator: 'AND' },
},
obsoleteFilter: {
obsolete: { queryString: 'false' },
},
},
tableKeyName: 'DiseaseAnnotations',
tableSettingsKeyName: 'DiseaseAnnotationsTableSettings',
Expand All @@ -103,14 +109,6 @@ const modTableSettings = {
page: 0,
rows: 50,
first: 0,
filters: {
dataProviderFilter: {
'dataProvider.sourceOrganization.abbreviation': { queryString: 'WB', tokenOperator: 'AND' },
'dataProvider.sourceOrganization.fullName': { queryString: 'WB', tokenOperator: 'AND' },
'dataProvider.sourceOrganization.shortName': { queryString: 'WB', tokenOperator: 'AND' },
},
},
tableKeyName: 'DiseaseAnnotations',
multiSortMeta: [{ field: 'dateCreated', order: -1 }],
selectedColumnNames: [
'MOD Annotation ID',
Expand Down Expand Up @@ -148,6 +146,17 @@ const modTableSettings = {
'Genetic Modifiers',
'Asserted Genes',
],
filters: {
dataProviderFilter: {
'dataProvider.sourceOrganization.abbreviation': { queryString: 'WB', tokenOperator: 'AND' },
'dataProvider.sourceOrganization.fullName': { queryString: 'WB', tokenOperator: 'AND' },
'dataProvider.sourceOrganization.shortName': { queryString: 'WB', tokenOperator: 'AND' },
},
obsoleteFilter: {
obsolete: { queryString: 'false' },
},
},
tableKeyName: 'DiseaseAnnotations',
tableSettingsKeyName: 'DiseaseAnnotationsTableSettings',
},
},
Expand Down Expand Up @@ -187,14 +196,14 @@ const modTableSettings = {
'Genetic Modifiers',
],
filters: {
obsoleteFilter: {
obsolete: { queryString: 'false' },
},
dataProviderFilter: {
'dataProvider.sourceOrganization.abbreviation': { queryString: 'FB', tokenOperator: 'AND' },
'dataProvider.sourceOrganization.fullName': { queryString: 'FB', tokenOperator: 'AND' },
'dataProvider.sourceOrganization.shortName': { queryString: 'FB', tokenOperator: 'AND' },
},
obsoleteFilter: {
obsolete: { queryString: 'false' },
},
},
tableKeyName: 'DiseaseAnnotations',
tableSettingsKeyName: 'DiseaseAnnotationsTableSettings',
Expand Down Expand Up @@ -229,6 +238,9 @@ const modTableSettings = {
'dataProvider.sourceOrganization.fullName': { queryString: 'ZFIN', tokenOperator: 'AND' },
'dataProvider.sourceOrganization.shortName': { queryString: 'ZFIN', tokenOperator: 'AND' },
},
obsoleteFilter: {
obsolete: { queryString: 'false' },
},
},
tableKeyName: 'DiseaseAnnotations',
tableSettingsKeyName: 'DiseaseAnnotationsTableSettings',
Expand Down Expand Up @@ -269,6 +281,9 @@ const modTableSettings = {
'dataProvider.sourceOrganization.fullName': { queryString: 'ZFIN', tokenOperator: 'AND' },
'dataProvider.sourceOrganization.shortName': { queryString: 'ZFIN', tokenOperator: 'AND' },
},
obsoleteFilter: {
obsolete: { queryString: 'false' },
},
},
tableKeyName: 'DiseaseAnnotations',
tableSettingsKeyName: 'DiseaseAnnotationsTableSettings',
Expand Down Expand Up @@ -375,7 +390,11 @@ const modTableSettings = {
'Genetic Modifiers',
'Internal',
],
filters: {},
filters: {
obsoleteFilter: {
obsolete: { queryString: 'false' },
},
},
tableKeyName: 'DiseaseAnnotations',
tableSettingsKeyName: 'DiseaseAnnotationsTableSettings',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,41 @@ private EntityFieldConstants() {
// Hidden from view, as it is a utility class
}

public static final String ASSEMBLY = "genomeAssembly.modEntityId";
public static final String TAXON = "taxon.curie";
public static final String DATA_PROVIDER = "dataProvider.sourceOrganization.abbreviation";
public static final String SECONDARY_DATA_PROVIDER = "secondaryDataProvider.sourceOrganization.abbreviation";
public static final String SOURCE_ORGANIZATION = "sourceOrganization.abbreviation";
public static final String DATA_PROVIDER = "dataProvider." + SOURCE_ORGANIZATION;
public static final String SECONDARY_DATA_PROVIDER = "secondaryDataProvider." + SOURCE_ORGANIZATION;

public static final String DA_SUBJECT = "diseaseAnnotationSubject";
public static final String DA_SUBJECT_TAXON = DA_SUBJECT + "." + TAXON;
public static final String EA_SUBJECT = "expressionAnnotationSubject";
public static final String PA_SUBJECT = "phenotypeAnnotationSubject";
public static final String ALLELE_ASSOCIATION_SUBJECT = "alleleAssociationSubject";
public static final String CODING_SEQUENCE_ASSOCIATION_SUBJECT = "codingSequenceAssociationSubject";
public static final String CONSTRUCT_ASSOCIATION_SUBJECT = "constructAssociationSubject";
public static final String EXON_ASSOCIATION_SUBJECT = "exonAssociationSubject";
public static final String SQTR_ASSOCIATION_SUBJECT = "sequenceTargetingReagentAssociationSubject";
public static final String TRANSCRIPT_ASSOCIATION_SUBJECT = "transcriptAssociationSubject";

public static final String DA_SUBJECT_TAXON = DA_SUBJECT + "." + TAXON;
public static final String EA_SUBJECT_TAXON = EA_SUBJECT + "." + TAXON;
public static final String PA_SUBJECT_TAXON = PA_SUBJECT + "." + TAXON;
public static final String ALLELE_ASSOCIATION_SUBJECT_DATA_PROVIDER = "alleleAssociationSubject." + DATA_PROVIDER;
public static final String CONSTRUCT_ASSOCIATION_SUBJECT_DATA_PROVIDER = "constructAssociationSubject." + DATA_PROVIDER;

public static final String ALLELE_ASSOCIATION_SUBJECT_DATA_PROVIDER = ALLELE_ASSOCIATION_SUBJECT + "." + DATA_PROVIDER;
public static final String CODING_SEQUENCE_ASSOCIATION_SUBJECT_DATA_PROVIDER = CODING_SEQUENCE_ASSOCIATION_SUBJECT + "." + DATA_PROVIDER;
public static final String CONSTRUCT_ASSOCIATION_SUBJECT_DATA_PROVIDER = CONSTRUCT_ASSOCIATION_SUBJECT + "." + DATA_PROVIDER;
public static final String EXON_ASSOCIATION_SUBJECT_DATA_PROVIDER = EXON_ASSOCIATION_SUBJECT + "." + DATA_PROVIDER;
public static final String SQTR_ASSOCIATION_SUBJECT_DATA_PROVIDER = SQTR_ASSOCIATION_SUBJECT + "." + DATA_PROVIDER;
public static final String TRANSCRIPT_ASSOCIATION_SUBJECT_DATA_PROVIDER = TRANSCRIPT_ASSOCIATION_SUBJECT + "." + DATA_PROVIDER;

public static final String GENOMIC_LOCATION_ASSOCIATION_OBJECT = "GenomicLocationAssociationObject";
public static final String CODING_SEQUENCE_GENOMIC_LOCATION_ASSOCIATION_OBJECT = "codingSequence" + GENOMIC_LOCATION_ASSOCIATION_OBJECT + ".name";
public static final String EXON_GENOMIC_LOCATION_ASSOCIATION_OBJECT = "exon" + GENOMIC_LOCATION_ASSOCIATION_OBJECT + ".name";
public static final String TRANSCRIPT_GENOMIC_LOCATION_ASSOCIATION_OBJECT = "transcript" + GENOMIC_LOCATION_ASSOCIATION_OBJECT + ".name";
public static final String CODING_SEQUENCE_GENOMIC_LOCATION_ASSOCIATION_OBJECT_ASSEMBLY = "codingSequence" + GENOMIC_LOCATION_ASSOCIATION_OBJECT + "." + ASSEMBLY;
public static final String EXON_GENOMIC_LOCATION_ASSOCIATION_OBJECT_ASSEMBLY = "exon" + GENOMIC_LOCATION_ASSOCIATION_OBJECT + "." + ASSEMBLY;
public static final String TRANSCRIPT_GENOMIC_LOCATION_ASSOCIATION_OBJECT_ASSEMBLY = "transcript" + GENOMIC_LOCATION_ASSOCIATION_OBJECT + "." + ASSEMBLY;

public static final String SUBJECT_GENE_DATA_PROVIDER = "subjectGene." + DATA_PROVIDER;
public static final String SUBJECT_GENE_TAXON = "subjectGene." + TAXON;
public static final String EA_SUBJECT_TAXON = "expressionAnnotationSubject.taxon.curie";
}
Loading
Loading