- switch ( getOptions().getExtDescNodeDataToReturn() ) {
- case NODE_NAME:
- return "Node Names";
- case GENE_NAME:
- return "Gene Names";
- case SEQUENCE_NAME:
- return "Sequence Names";
- case SEQUENCE_SYMBOL:
- return "Sequence Symbols";
- case SEQUENCE_MOL_SEQ:
- return "Molecular Sequences";
- case SEQUENCE_MOL_SEQ_FASTA:
- return "Molecular Sequences (Fasta)";
- case SEQUENCE_ACC:
- return "Sequence Accessors";
- case TAXONOMY_SCIENTIFIC_NAME:
- return "Scientific Names";
- case TAXONOMY_CODE:
- return "Taxonomy Codes";
- case TAXONOMY_COMM0N_NAME:
- return "Taxonomy Common Names";
- case DOMAINS_ALL:
- return "Domains [E-value threshold: " + Math.pow( 10, getDomainStructureEvalueThresholdExp() ) + "]";
- case DOMAINS_COLLAPSED_PER_PROTEIN:
- return "Domains [collapsed per protein, E-value threshold: " + Math.pow( 10, getDomainStructureEvalueThresholdExp() ) + "]";
- case GO_ANNOTATIONS:
- return "Go Annotations";
- case GO_ANNOTATIONS_WITH_COUNTS:
- return "Go Annotations [with counts]";
- case UNKNOWN:
- return "User Selected Data";
- default:
- throw new IllegalArgumentException( "unknown data element: "
- + getOptions().getExtDescNodeDataToReturn() );
- }