Package es.imim.DISGENET.validation
Class NodeValidation
java.lang.Object
es.imim.DISGENET.validation.NodeValidation
The DISGENET Cytoscape App is designed to visualize, query, and analyze a network representation of DISGENET data.
Copyright (C) 2024 MEDBIOINFORMATICS SOLUTIONS SL
This file is part of the DISGENET Cytoscape App. The DISGENET Cytoscape App is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
The DISGENET Cytoscape App is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the DISGENET Cytoscape App. If not, see http://www.gnu.org/licenses/.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
filterNodeType
(String nodeEntry) Filters the given string and checks for one of the following matches, gene symbol, disease cui or variant snp.
-
Field Details
-
DISEASE_CUI_REGEX
- See Also:
-
VARIANT_SNP_REGEX
- See Also:
-
-
Constructor Details
-
NodeValidation
public NodeValidation()
-
-
Method Details
-
filterNodeType
Filters the given string and checks for one of the following matches, gene symbol, disease cui or variant snp.- Parameters:
nodeEntry
- the string to check.- Returns:
- the type of the node as a string
-