Class | Line # | Actions | |||
---|---|---|---|---|---|
DbSourceProxyImpl | 36 | 19 | 15 | 0.3513513535.1% |
Class DbSourceProxyImpl |
Line # 36 |
19 |
15 |
0.3513513535.1% |
---|---|---|---|---|
DbSourceProxyImpl() DbSourceProxyImpl() | 4343 | 0.00 | 1.01 | -1.0 -1.0 - |
getRawRecords() : StringBuffer getRawRecords() : StringBuffer | 5252 | 1.01 | 1.01 | 0.0 0.00% |
queryInProgress() : boolean queryInProgress() : boolean | 6363 | 1.01 | 1.01 | 0.0 0.00% |
startQuery() : void startQuery() : void | 7373 | 1.01 | 1.01 | 0.0 0.00% |
stopQuery() : void stopQuery() : void | 8282 | 1.01 | 1.01 | 0.0 0.00% |
parseResult(String) : AlignmentI parseResult(String) : AlignmentI | 9494 | 5.05 | 2.02 | 0.0 0.00% |
getAccessionIdFromQuery(String) : String getAccessionIdFromQuery(String) : String | 111111 | 5.05 | 3.03 | 0.7777778 0.777777877.8% |
getMaximumQueryCount() : int getMaximumQueryCount() : int | 126126 | 1.01 | 1.01 | 0.0 0.00% |
isDnaCoding() : boolean isDnaCoding() : boolean | 135135 | 1.01 | 1.01 | 0.0 0.00% |
isAlignmentSource() : boolean isAlignmentSource() : boolean | 144144 | 1.01 | 1.01 | 1.0 1.0100% |
getDescription() : String getDescription() : String | 150150 | 1.01 | 1.01 | 0.0 0.00% |
getFeatureColourScheme() : FeatureSettingsModelI getFeatureColourScheme() : FeatureSettingsModelI | 156156 | 1.01 | 1.01 | 1.0 1.0100% |
0.24324325
|
jalview.ext.ensembl.EnsemblProteinTest.testGetAccesionIdFromQueryjalview.ext.ensembl.EnsemblProteinTest.testGetAccesionIdFromQuery | 1PASS | ||
0.13513513
|
jalview.io.CrossRef2xmlTests.openCrossrefsForEnsemblTwicejalview.io.CrossRef2xmlTests.openCrossrefsForEnsemblTwice | 1PASS | ||
0.08108108
|
jalview.project.Jalview2xmlTests.viewRefPdbAnnotationjalview.project.Jalview2xmlTests.viewRefPdbAnnotation | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.08108108
|
jalview.ws.SequenceFetcherTest.testNoDuplicatesInFetchDbRefsjalview.ws.SequenceFetcherTest.testNoDuplicatesInFetchDbRefs | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.08108108
|
jalview.gui.AnnotationLabelsTest2.testIdWidthChangesjalview.gui.AnnotationLabelsTest2.testIdWidthChanges | 1PASS | ||
0.08108108
|
jalview.ws.dbsources.UniprotTest.testimportOfProblemEntriesjalview.ws.dbsources.UniprotTest.testimportOfProblemEntries | 1PASS | ||
0.08108108
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverExpandedviewsjalview.project.Jalview2xmlTests.testStoreAndRecoverExpandedviews | 1PASS | ||
0.08108108
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverReferenceSeqSettingsjalview.project.Jalview2xmlTests.testStoreAndRecoverReferenceSeqSettings | 1PASS | ||
0.08108108
|
jalview.project.Jalview2xmlTests.testCopyViewSettingsjalview.project.Jalview2xmlTests.testCopyViewSettings | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.08108108
|
jalview.ext.jmol.JmolViewerTest.testAddStrToSingleSeqViewJMoljalview.ext.jmol.JmolViewerTest.testAddStrToSingleSeqViewJMol | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.08108108
|
jalview.project.Jalview2xmlTests.gatherViewsHerejalview.project.Jalview2xmlTests.gatherViewsHere | 1PASS | ||
0.08108108
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.054054055
|
jalview.io.SequenceAnnotationReportTest.testAppendFeature_withScoreStatusAttributejalview.io.SequenceAnnotationReportTest.testAppendFeature_withScoreStatusAttribute | 1PASS | ||
0.054054055
|
jalview.gui.StructureChooserTest.fetchStructuresInfoMockedTestjalview.gui.StructureChooserTest.fetchStructuresInfoMockedTest | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverColourThresholdsjalview.project.Jalview2xmlTests.testStoreAndRecoverColourThresholds | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testIsInActionScope_selectedScopejalview.gui.AnnotationChooserTest.testIsInActionScope_selectedScope | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.054054055
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistancesjalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistances | 1PASS | ||
0.054054055
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFindComplementFeaturesAtResiduejalview.renderer.seqfeatures.FeatureRendererTest.testFindComplementFeaturesAtResidue | 1PASS | ||
0.054054055
|
jalview.io.RNAMLfileTest.testRnamlToStockholmIOjalview.io.RNAMLfileTest.testRnamlToStockholmIO | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testIsInActionScope_unselectedScopejalview.gui.AnnotationChooserTest.testIsInActionScope_unselectedScope | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.054054055
|
jalview.io.BackupFilesTest.backupsEnabledSingleFileBackupTestjalview.io.BackupFilesTest.backupsEnabledSingleFileBackupTest | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testDeselectType_hideForAlljalview.gui.AnnotationChooserTest.testDeselectType_hideForAll | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testSelectType_showForSelectedjalview.gui.AnnotationChooserTest.testSelectType_showForSelected | 1PASS | ||
0.054054055
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistances_withParamsjalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistances_withParams | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testSelectType_hideForSelectedjalview.gui.AnnotationChooserTest.testSelectType_hideForSelected | 1PASS | ||
0.054054055
|
jalview.io.vcf.VCFLoaderTest.testDoLoad_vepCsqjalview.io.vcf.VCFLoaderTest.testDoLoad_vepCsq | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonIteratorTest.testNext_incompleteCodonjalview.datamodel.AlignedCodonIteratorTest.testNext_incompleteCodon | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testTCoffeeScoresjalview.project.Jalview2xmlTests.testTCoffeeScores | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testAutoShowOverviewForLegacyProjectsjalview.project.Jalview2xmlTests.testAutoShowOverviewForLegacyProjects | 1PASS | ||
0.054054055
|
jalview.math.MatrixTest.testFindMinMax_timingjalview.math.MatrixTest.testFindMinMax_timing | 1PASS | ||
0.054054055
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testResetOriginalStatejalview.gui.AnnotationChooserTest.testResetOriginalState | 1PASS | ||
0.054054055
|
jalview.util.imagemaker.BitmapImageSizeTest.testCacheSettingsRecoveryjalview.util.imagemaker.BitmapImageSizeTest.testCacheSettingsRecovery | 1PASS | ||
0.054054055
|
jalview.schemes.ColourSchemesTest.testGetColourSchemejalview.schemes.ColourSchemesTest.testGetColourScheme | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testMergeDatasetsforManyViewsjalview.project.Jalview2xmlTests.testMergeDatasetsforManyViews | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testRNAStructureRecoveryjalview.project.Jalview2xmlTests.testRNAStructureRecovery | 1PASS | ||
0.054054055
|
jalview.io.SequenceAnnotationReportTest.testAppendFeature_statusjalview.io.SequenceAnnotationReportTest.testAppendFeature_status | 1PASS | ||
0.054054055
|
jalview.io.SequenceAnnotationReportTest.testAppendFeature_colouredByAttributejalview.io.SequenceAnnotationReportTest.testAppendFeature_colouredByAttribute | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.054054055
|
jalview.ext.jmol.JmolViewerTest.testSingleSeqViewJMoljalview.ext.jmol.JmolViewerTest.testSingleSeqViewJMol | 1PASS | ||
0.054054055
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scales_longSequencejalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scales_longSequence | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonFrameTest.testGetMappedCodonsjalview.datamodel.AlignedCodonFrameTest.testGetMappedCodons | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonFrameTest.testGetMappedRegion_eitherWayjalview.datamodel.AlignedCodonFrameTest.testGetMappedRegion_eitherWay | 1PASS | ||
0.054054055
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_HiddenColumnsjalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_HiddenColumns | 1PASS | ||
0.054054055
|
jalview.io.SequenceAnnotationReportTest.testAppendFeature_virtualFeaturejalview.io.SequenceAnnotationReportTest.testAppendFeature_virtualFeature | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testColourByAnnotScoresjalview.project.Jalview2xmlTests.testColourByAnnotScores | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.054054055
|
jalview.io.SequenceAnnotationReportTest.testAppendFeature_disulfideBondjalview.io.SequenceAnnotationReportTest.testAppendFeature_disulfideBond | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverAnnotationRowElementColoursjalview.project.Jalview2xmlTests.testStoreAndRecoverAnnotationRowElementColours | 1PASS | ||
0.054054055
|
jalview.structure.StructureSelectionManagerTest.testSetMapping_seqFeaturesjalview.structure.StructureSelectionManagerTest.testSetMapping_seqFeatures | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testBuildActionButtonsPaneljalview.gui.AnnotationChooserTest.testBuildActionButtonsPanel | 1PASS | ||
0.054054055
|
jalview.io.SequenceAnnotationReportTest.testAppendFeature_noScorejalview.io.SequenceAnnotationReportTest.testAppendFeature_noScore | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.054054055
|
jalview.io.RNAMLfileTest.testRnamlSeqImportjalview.io.RNAMLfileTest.testRnamlSeqImport | 1PASS | ||
0.054054055
|
jalview.gui.ColourMenuHelperTest.testAddMenuItems_nucleotidejalview.gui.ColourMenuHelperTest.testAddMenuItems_nucleotide | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testDeselectType_showForAlljalview.gui.AnnotationChooserTest.testDeselectType_showForAll | 1PASS | ||
0.054054055
|
jalview.io.vcf.VCFLoaderTest.testDoLoad_reverseStrandjalview.io.vcf.VCFLoaderTest.testDoLoad_reverseStrand | 1PASS | ||
0.054054055
|
jalview.gui.QuitHandlerTest.testNoGUIUnsavedChangesjalview.gui.QuitHandlerTest.testNoGUIUnsavedChanges | 1PASS | ||
0.054054055
|
jalview.analysis.AverageDistanceEngineTest.testUPGMAEnginejalview.analysis.AverageDistanceEngineTest.testUPGMAEngine | 1PASS | ||
0.054054055
|
jalview.gui.AlignViewportTest.testUpdateConservation_qualityOnlyjalview.gui.AlignViewportTest.testUpdateConservation_qualityOnly | 1PASS | ||
0.054054055
|
jalview.io.FeaturesFileTest.testParse_pureGff3jalview.io.FeaturesFileTest.testParse_pureGff3 | 1PASS | ||
0.054054055
|
jalview.gui.AlignViewportTest.testDeregisterMapping_withNoReferencejalview.gui.AlignViewportTest.testDeregisterMapping_withNoReference | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.054054055
|
jalview.io.SequenceAnnotationReportTest.testCreateSequenceAnnotationReport_withEllipsisjalview.io.SequenceAnnotationReportTest.testCreateSequenceAnnotationReport_withEllipsis | 1PASS | ||
0.054054055
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.054054055
|
jalview.util.SparseCountTest.testAddjalview.util.SparseCountTest.testAdd | 1PASS | ||
0.054054055
|
jalview.gui.StructureChooserTest.displayTDBQueryTestjalview.gui.StructureChooserTest.displayTDBQueryTest | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testSelectType_showForAlljalview.gui.AnnotationChooserTest.testSelectType_showForAll | 1PASS | ||
0.054054055
|
jalview.bin.CacheTest.testVersionCheckerjalview.bin.CacheTest.testVersionChecker | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testBuildApplyToOptionsPanel_withSelectionGroupjalview.gui.AnnotationChooserTest.testBuildApplyToOptionsPanel_withSelectionGroup | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.054054055
|
jalview.gui.StructureChooserTest.populateFilterComboBoxTestjalview.gui.StructureChooserTest.populateFilterComboBoxTest | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testGetAnnotationTypesjalview.gui.AnnotationChooserTest.testGetAnnotationTypes | 1PASS | ||
0.054054055
|
jalview.io.FeaturesFileTest.testPrintJalviewFormat_withFiltersjalview.io.FeaturesFileTest.testPrintJalviewFormat_withFilters | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationLabelsTest2.testIdWidthNoChangesjalview.gui.AnnotationLabelsTest2.testIdWidthNoChanges | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.054054055
|
jalview.ext.jmol.JmolParserTest.testFileParserjalview.ext.jmol.JmolParserTest.testFileParser | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testStoreAndRestoreIDwidthAndAnnotationHeightjalview.project.Jalview2xmlTests.testStoreAndRestoreIDwidthAndAnnotationHeight | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testPAEsaveRestorejalview.project.Jalview2xmlTests.testPAEsaveRestore | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testDeselectType_hideForSelectedjalview.gui.AnnotationChooserTest.testDeselectType_hideForSelected | 1PASS | ||
0.054054055
|
jalview.workers.AlignCalcManagerTest.testRemoveWorkerForAnnotationjalview.workers.AlignCalcManagerTest.testRemoveWorkerForAnnotation | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonFrameTest.testCouldReplaceSequencejalview.datamodel.AlignedCodonFrameTest.testCouldReplaceSequence | 1PASS | ||
0.054054055
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.054054055
|
jalview.io.BackupFilesTest.backupsEnabledNoRollMaxTestjalview.io.BackupFilesTest.backupsEnabledNoRollMaxTest | 1PASS | ||
0.054054055
|
jalview.gui.AssociatePDBFileTest.testAssociatePDBFilejalview.gui.AssociatePDBFileTest.testAssociatePDBFile | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.noDuplicatePdbMappingsMadejalview.project.Jalview2xmlTests.noDuplicatePdbMappingsMade | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testDeselectType_showForSelectedjalview.gui.AnnotationChooserTest.testDeselectType_showForSelected | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.054054055
|
jalview.io.AnnotatedPDBFileInputTest.checkAnnotationWiringjalview.io.AnnotatedPDBFileInputTest.checkAnnotationWiring | 1PASS | ||
0.054054055
|
jalview.urls.UrlProviderTest.testInitUrlProviderjalview.urls.UrlProviderTest.testInitUrlProvider | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.054054055
|
jalview.gui.QuitHandlerTest.testUnsavedChangesjalview.gui.QuitHandlerTest.testUnsavedChanges | 1PASS | ||
0.054054055
|
jalview.gui.QuitHandlerTest.testForceQuitjalview.gui.QuitHandlerTest.testForceQuit | 1PASS | ||
0.054054055
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFindFeatureAt_PointFeaturejalview.analysis.scoremodels.FeatureDistanceModelTest.testFindFeatureAt_PointFeature | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonFrameTest.testMarkMappedRegionjalview.datamodel.AlignedCodonFrameTest.testMarkMappedRegion | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonIteratorTest.testNextjalview.datamodel.AlignedCodonIteratorTest.testNext | 1PASS | ||
0.054054055
|
jalview.io.BackupFilesTest.noBackupsEnabledTestjalview.io.BackupFilesTest.noBackupsEnabledTest | 1PASS | ||
0.054054055
|
jalview.gui.QuitHandlerTest.testSavedProjectChangesjalview.gui.QuitHandlerTest.testSavedProjectChanges | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationLabelsTest2.testIdWidthChangesjalview.gui.AnnotationLabelsTest2.testIdWidthChanges | 1PASS | ||
0.054054055
|
jalview.gui.QuitHandlerTest.testWaitForSaveQuitjalview.gui.QuitHandlerTest.testWaitForSaveQuit | 1PASS | ||
0.054054055
|
jalview.io.JalviewExportPropertiesTests.testImportExportPeriodGapsjalview.io.JalviewExportPropertiesTests.testImportExportPeriodGaps | 1PASS | ||
0.054054055
|
jalview.gui.AlignViewportTest.testSetGetHasSearchResultsjalview.gui.AlignViewportTest.testSetGetHasSearchResults | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testBuildApplyToOptionsPanel_noSelectionGroupjalview.gui.AnnotationChooserTest.testBuildApplyToOptionsPanel_noSelectionGroup | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonFrameTest.testRealiseWithjalview.datamodel.AlignedCodonFrameTest.testRealiseWith | 1PASS | ||
0.054054055
|
jalview.gui.AlignViewportTest.testGetConsensusSeqjalview.gui.AlignViewportTest.testGetConsensusSeq | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverOverviewjalview.project.Jalview2xmlTests.testStoreAndRecoverOverview | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testSaveLoadFeatureColoursAndFiltersjalview.project.Jalview2xmlTests.testSaveLoadFeatureColoursAndFilters | 1PASS | ||
0.054054055
|
jalview.io.FeaturesFileTest.testPrintGffFormat_withFiltersjalview.io.FeaturesFileTest.testPrintGffFormat_withFilters | 1PASS | ||
0.054054055
|
jalview.urls.UrlProviderTest.testSetDefaultUrljalview.urls.UrlProviderTest.testSetDefaultUrl | 1PASS | ||
0.054054055
|
jalview.io.StockholmFileTest.pfamFileDataExtractionjalview.io.StockholmFileTest.pfamFileDataExtraction | 1PASS | ||
0.054054055
|
jalview.gui.StructureChooserTest.sanitizeSeqNameTestjalview.gui.StructureChooserTest.sanitizeSeqNameTest | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonIteratorTest.testNext_unmappedPeptidejalview.datamodel.AlignedCodonIteratorTest.testNext_unmappedPeptide | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationLabelsTest.testDrawLabelsjalview.gui.AnnotationLabelsTest.testDrawLabels | 1PASS | ||
0.054054055
|
jalview.gui.AlignViewportTest.testShowOrDontShowOccupancyjalview.gui.AlignViewportTest.testShowOrDontShowOccupancy | 1PASS | ||
0.054054055
|
jalview.gui.AlignViewportTest.testDeregisterMapping_onCloseViewjalview.gui.AlignViewportTest.testDeregisterMapping_onCloseView | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationChooserTest.testBuildShowHideOptionsPaneljalview.gui.AnnotationChooserTest.testBuildShowHideOptionsPanel | 1PASS | ||
0.054054055
|
jalview.io.FeaturesFileTest.testParse_mixedJalviewGffjalview.io.FeaturesFileTest.testParse_mixedJalviewGff | 1PASS | ||
0.054054055
|
jalview.schemes.PIDColourSchemeTest.testFindColour_ignoreGapsjalview.schemes.PIDColourSchemeTest.testFindColour_ignoreGaps | 1PASS | ||
0.054054055
|
jalview.io.cache.JvCacheableInputBoxTest.updateCacheTestjalview.io.cache.JvCacheableInputBoxTest.updateCacheTest | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationColumnChooserTest.testResetjalview.gui.AnnotationColumnChooserTest.testReset | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.054054055
|
jalview.io.BackupFilesTest.backupsEnabledRollMaxTestjalview.io.BackupFilesTest.backupsEnabledRollMaxTest | 1PASS | ||
0.054054055
|
jalview.gui.PairwiseAlignmentPanelTest.testConstructor_noSelectionGroupjalview.gui.PairwiseAlignmentPanelTest.testConstructor_noSelectionGroup | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverGeneLocusjalview.project.Jalview2xmlTests.testStoreAndRecoverGeneLocus | 1PASS | ||
0.054054055
|
jalview.renderer.ScaleRendererTest.testCalculateMarksjalview.renderer.ScaleRendererTest.testCalculateMarks | 1PASS | ||
0.054054055
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.054054055
|
jalview.io.FeaturesFileTest.testParsejalview.io.FeaturesFileTest.testParse | 1PASS | ||
0.054054055
|
jalview.gui.PopupMenuTest.testHideInsertionsjalview.gui.PopupMenuTest.testHideInsertions | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.054054055
|
jalview.util.FormatTest.testFormat_scientificjalview.util.FormatTest.testFormat_scientific | 1PASS | ||
0.054054055
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.054054055
|
jalview.schemes.ClustalxColourSchemeTest.testFindColour_ignoreGapsjalview.schemes.ClustalxColourSchemeTest.testFindColour_ignoreGaps | 1PASS | ||
0.054054055
|
jalview.io.SequenceAnnotationReportTest.testAppendFeatures_longTextjalview.io.SequenceAnnotationReportTest.testAppendFeatures_longText | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.054054055
|
jalview.datamodel.SeqCigarTest.testFindPositionjalview.datamodel.SeqCigarTest.testFindPosition | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonFrameTest.testGetMappedCodons_forSubSequencesjalview.datamodel.AlignedCodonFrameTest.testGetMappedCodons_forSubSequences | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testPcaViewAssociationjalview.project.Jalview2xmlTests.testPcaViewAssociation | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonIteratorTest.testNext_withOffsetjalview.datamodel.AlignedCodonIteratorTest.testNext_withOffset | 1PASS | ||
0.054054055
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonFrameTest.testIsRealisableWithjalview.datamodel.AlignedCodonFrameTest.testIsRealisableWith | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.054054055
|
jalview.gui.AlignViewportTest.testGetSelectionAsNewSequences_withContactMatricesjalview.gui.AlignViewportTest.testGetSelectionAsNewSequences_withContactMatrices | 1PASS | ||
0.054054055
|
jalview.renderer.seqfeatures.FeatureRendererTest.testGetColourjalview.renderer.seqfeatures.FeatureRendererTest.testGetColour | 1PASS | ||
0.054054055
|
jalview.controller.AlignViewControllerTest.testSelectColumnsWithHighlightjalview.controller.AlignViewControllerTest.testSelectColumnsWithHighlight | 1PASS | ||
0.054054055
|
jalview.gui.AlignViewportTest.testSetSelectionGroupjalview.gui.AlignViewportTest.testSetSelectionGroup | 1PASS | ||
0.054054055
|
jalview.io.SequenceAnnotationReportTest.testAppendFeature_stripHtmljalview.io.SequenceAnnotationReportTest.testAppendFeature_stripHtml | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverGroupRepSeqsjalview.project.Jalview2xmlTests.testStoreAndRecoverGroupRepSeqs | 1PASS | ||
0.054054055
|
jalview.io.AnnotatedPDBFileInputTest.testJalviewProjectRelocationAnnotationjalview.io.AnnotatedPDBFileInputTest.testJalviewProjectRelocationAnnotation | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.054054055
|
jalview.io.JSONFileTest.testSeqParsedjalview.io.JSONFileTest.testSeqParsed | 1PASS | ||
0.054054055
|
jalview.gui.AnnotationLabelsTest2.testIdWidthNoChangesjalview.gui.AnnotationLabelsTest2.testIdWidthNoChanges | 1PASS | ||
0.054054055
|
jalview.urls.UrlProviderTest.testSetDefaultUrlWronglyjalview.urls.UrlProviderTest.testSetDefaultUrlWrongly | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonFrameTest.testAddMapjalview.datamodel.AlignedCodonFrameTest.testAddMap | 1PASS | ||
0.054054055
|
jalview.analysis.CrossRefTest.testFindXDbRefsjalview.analysis.CrossRefTest.testFindXDbRefs | 1PASS | ||
0.054054055
|
jalview.io.BackupFilesTest.backupsEnabledReverseRollMaxTestjalview.io.BackupFilesTest.backupsEnabledReverseRollMaxTest | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testMergeDatasetsforViewsjalview.project.Jalview2xmlTests.testMergeDatasetsforViews | 1PASS | ||
0.054054055
|
jalview.datamodel.SeqCigarTest.testSomethingjalview.datamodel.SeqCigarTest.testSomething | 1PASS | ||
0.054054055
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonIteratorTest.testAnotherjalview.datamodel.AlignedCodonIteratorTest.testAnother | 1PASS | ||
0.054054055
|
jalview.ext.jmol.JmolParserTest.testAlignmentLoaderjalview.ext.jmol.JmolParserTest.testAlignmentLoader | 1PASS | ||
0.054054055
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFindAllFeaturesjalview.renderer.seqfeatures.FeatureRendererTest.testFindAllFeatures | 1PASS | ||
0.054054055
|
jalview.io.WindowsFileLoadAndSaveTest.loadAndSaveAlignmentjalview.io.WindowsFileLoadAndSaveTest.loadAndSaveAlignment | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverNoOverviewjalview.project.Jalview2xmlTests.testStoreAndRecoverNoOverview | 1PASS | ||
0.054054055
|
jalview.datamodel.AlignedCodonFrameTest.testGetMappedCodons_dnaVariantsjalview.datamodel.AlignedCodonFrameTest.testGetMappedCodons_dnaVariants | 1PASS | ||
0.054054055
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverPDBEntryjalview.project.Jalview2xmlTests.testStoreAndRecoverPDBEntry | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblCdsTest.testRetainFeaturejalview.ext.ensembl.EnsemblCdsTest.testRetainFeature | 1PASS | ||
0.027027028
|
jalview.ws.dbsources.RfamFullTest.testGetURLjalview.ws.dbsources.RfamFullTest.testGetURL | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblGenomeTest.testGetIdentifyingFeaturesjalview.ext.ensembl.EnsemblGenomeTest.testGetIdentifyingFeatures | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblGeneTest.testGetTranscriptFeaturesjalview.ext.ensembl.EnsemblGeneTest.testGetTranscriptFeatures | 1PASS | ||
0.027027028
|
jalview.ws.seqfetcher.DbRefFetcherTest.testStandardProtDbsjalview.ws.seqfetcher.DbRefFetcherTest.testStandardProtDbs | 1PASS | ||
0.027027028
|
jalview.ws.dbsources.UniprotTest.testGetUniprotSequencejalview.ws.dbsources.UniprotTest.testGetUniprotSequence | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblCdnaTest.testRetainFeaturejalview.ext.ensembl.EnsemblCdnaTest.testRetainFeature | 1PASS | ||
0.027027028
|
jalview.ws.dbsources.PfamSeedTest.testGetURLjalview.ws.dbsources.PfamSeedTest.testGetURL | 1PASS | ||
0.027027028
|
jalview.ws.dbsources.UniprotTest.testGetUniprotEntryIdjalview.ws.dbsources.UniprotTest.testGetUniprotEntryId | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblCdnaTest.testIsValidReferencejalview.ext.ensembl.EnsemblCdnaTest.testIsValidReference | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblCdsTest.testIsValidReferencejalview.ext.ensembl.EnsemblCdsTest.testIsValidReference | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblGeneTest.testGetGenomicRangesFromFeaturesjalview.ext.ensembl.EnsemblGeneTest.testGetGenomicRangesFromFeatures | 1PASS | ||
0.027027028
|
jalview.ws.dbsources.UniprotTest.testGetUniprotEntryDescriptionjalview.ws.dbsources.UniprotTest.testGetUniprotEntryDescription | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblGenomeTest.testGetGenomicRangesFromFeaturesjalview.ext.ensembl.EnsemblGenomeTest.testGetGenomicRangesFromFeatures | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblCdnaTest.testGetGenomicRangesFromFeaturesjalview.ext.ensembl.EnsemblCdnaTest.testGetGenomicRangesFromFeatures | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblXrefTest.testGetCrossReferencesjalview.ext.ensembl.EnsemblXrefTest.testGetCrossReferences | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblGeneTest.testGetGenomicRangesFromFeatures_ncRNA_gene_reverseStrandjalview.ext.ensembl.EnsemblGeneTest.testGetGenomicRangesFromFeatures_ncRNA_gene_reverseStrand | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblGeneTest.testGetIdentifyingFeaturesjalview.ext.ensembl.EnsemblGeneTest.testGetIdentifyingFeatures | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblCdnaTest.testGetGenomicRangesFromFeatures_mixedStrandjalview.ext.ensembl.EnsemblCdnaTest.testGetGenomicRangesFromFeatures_mixedStrand | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblGeneTest.testRetainFeaturejalview.ext.ensembl.EnsemblGeneTest.testRetainFeature | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblProteinTest.testIsValidReferencejalview.ext.ensembl.EnsemblProteinTest.testIsValidReference | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblCdnaTest.testGetGenomicRangesFromFeatures_reverseStrandjalview.ext.ensembl.EnsemblCdnaTest.testGetGenomicRangesFromFeatures_reverseStrand | 1PASS | ||
0.027027028
|
jalview.ws.dbsources.UniprotTest.testGetUniprotEntriesjalview.ws.dbsources.UniprotTest.testGetUniprotEntries | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblGeneTest.testGetFeatureColourSchemejalview.ext.ensembl.EnsemblGeneTest.testGetFeatureColourScheme | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblGenomeTest.testRetainFeaturejalview.ext.ensembl.EnsemblGenomeTest.testRetainFeature | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblCdsTest.testGetGenomicRangesFromFeaturesjalview.ext.ensembl.EnsemblCdsTest.testGetGenomicRangesFromFeatures | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblCdnaTest.testGetIdentifyingFeaturesjalview.ext.ensembl.EnsemblCdnaTest.testGetIdentifyingFeatures | 1PASS | ||
0.027027028
|
jalview.ws.dbsources.PfamFullTest.testGetURLjalview.ws.dbsources.PfamFullTest.testGetURL | 1PASS | ||
0.027027028
|
jalview.ws.dbsources.RfamSeedTest.testGetURLjalview.ws.dbsources.RfamSeedTest.testGetURL | 1PASS | ||
0.027027028
|
jalview.ext.ensembl.EnsemblCdsTest.testGetIdentifyingFeaturesjalview.ext.ensembl.EnsemblCdsTest.testGetIdentifyingFeatures | 1PASS |
1 | /* | ||||||
2 | * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) | ||||||
3 | * Copyright (C) $$Year-Rel$$ The Jalview Authors | ||||||
4 | * | ||||||
5 | * This file is part of Jalview. | ||||||
6 | * | ||||||
7 | * Jalview is free software: you can redistribute it and/or | ||||||
8 | * modify it under the terms of the GNU General Public License | ||||||
9 | * as published by the Free Software Foundation, either version 3 | ||||||
10 | * of the License, or (at your option) any later version. | ||||||
11 | * | ||||||
12 | * Jalview is distributed in the hope that it will be useful, but | ||||||
13 | * WITHOUT ANY WARRANTY; without even the implied warranty | ||||||
14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR | ||||||
15 | * PURPOSE. See the GNU General Public License for more details. | ||||||
16 | * | ||||||
17 | * You should have received a copy of the GNU General Public License | ||||||
18 | * along with Jalview. If not, see <http://www.gnu.org/licenses/>. | ||||||
19 | * The Jalview Authors are detailed in the 'AUTHORS' file. | ||||||
20 | */ | ||||||
21 | package jalview.ws.seqfetcher; | ||||||
22 | |||||||
23 | import jalview.api.FeatureSettingsModelI; | ||||||
24 | import jalview.datamodel.AlignmentI; | ||||||
25 | import jalview.io.DataSourceType; | ||||||
26 | import jalview.io.FileFormatI; | ||||||
27 | import jalview.io.FormatAdapter; | ||||||
28 | import jalview.io.IdentifyFile; | ||||||
29 | |||||||
30 | /** | ||||||
31 | * common methods for implementations of the DbSourceProxy interface. | ||||||
32 | * | ||||||
33 | * @author JimP | ||||||
34 | * | ||||||
35 | */ | ||||||
|
|||||||
36 | public abstract class DbSourceProxyImpl implements DbSourceProxy | ||||||
37 | { | ||||||
38 | |||||||
39 | boolean queryInProgress = false; | ||||||
40 | |||||||
41 | protected StringBuffer results = null; | ||||||
42 | |||||||
|
|||||||
43 | 220 | public DbSourceProxyImpl()... | |||||
44 | { | ||||||
45 | } | ||||||
46 | |||||||
47 | /* | ||||||
48 | * (non-Javadoc) | ||||||
49 | * | ||||||
50 | * @see jalview.ws.DbSourceProxy#getRawRecords() | ||||||
51 | */ | ||||||
|
|||||||
52 | 0 | @Override... | |||||
53 | public StringBuffer getRawRecords() | ||||||
54 | { | ||||||
55 | 0 | return results; | |||||
56 | } | ||||||
57 | |||||||
58 | /* | ||||||
59 | * (non-Javadoc) | ||||||
60 | * | ||||||
61 | * @see jalview.ws.DbSourceProxy#queryInProgress() | ||||||
62 | */ | ||||||
|
|||||||
63 | 0 | @Override... | |||||
64 | public boolean queryInProgress() | ||||||
65 | { | ||||||
66 | 0 | return queryInProgress; | |||||
67 | } | ||||||
68 | |||||||
69 | /** | ||||||
70 | * call to set the queryInProgress flag | ||||||
71 | * | ||||||
72 | */ | ||||||
|
|||||||
73 | 0 | protected void startQuery()... | |||||
74 | { | ||||||
75 | 0 | queryInProgress = true; | |||||
76 | } | ||||||
77 | |||||||
78 | /** | ||||||
79 | * call to clear the queryInProgress flag | ||||||
80 | * | ||||||
81 | */ | ||||||
|
|||||||
82 | 0 | protected void stopQuery()... | |||||
83 | { | ||||||
84 | 0 | queryInProgress = false; | |||||
85 | } | ||||||
86 | |||||||
87 | /** | ||||||
88 | * create an alignment from raw text file... | ||||||
89 | * | ||||||
90 | * @param result | ||||||
91 | * @return null or a valid alignment | ||||||
92 | * @throws Exception | ||||||
93 | */ | ||||||
|
|||||||
94 | 0 | protected AlignmentI parseResult(String result) throws Exception... | |||||
95 | { | ||||||
96 | 0 | AlignmentI sequences = null; | |||||
97 | 0 | FileFormatI format = new IdentifyFile().identify(result, | |||||
98 | DataSourceType.PASTE); | ||||||
99 | 0 | if (format != null) | |||||
100 | { | ||||||
101 | 0 | sequences = new FormatAdapter().readFile(result.toString(), | |||||
102 | DataSourceType.PASTE, format); | ||||||
103 | } | ||||||
104 | 0 | return sequences; | |||||
105 | } | ||||||
106 | |||||||
107 | /** | ||||||
108 | * Returns the first accession id in the query (up to the first accession id | ||||||
109 | * separator), or the whole query if there is no separator or it is not found | ||||||
110 | */ | ||||||
|
|||||||
111 | 6 | @Override... | |||||
112 | public String getAccessionIdFromQuery(String query) | ||||||
113 | { | ||||||
114 | 6 | String sep = getAccessionSeparator(); | |||||
115 | 6 | if (sep == null) | |||||
116 | { | ||||||
117 | 0 | return query; | |||||
118 | } | ||||||
119 | 6 | int sepPos = query.indexOf(sep); | |||||
120 | 6 | return sepPos == -1 ? query : query.substring(0, sepPos); | |||||
121 | } | ||||||
122 | |||||||
123 | /** | ||||||
124 | * Default is only one accession id per query - override if more are allowed. | ||||||
125 | */ | ||||||
|
|||||||
126 | 0 | @Override... | |||||
127 | public int getMaximumQueryCount() | ||||||
128 | { | ||||||
129 | 0 | return 1; | |||||
130 | } | ||||||
131 | |||||||
132 | /** | ||||||
133 | * Returns false - override to return true for DNA coding data sources | ||||||
134 | */ | ||||||
|
|||||||
135 | 0 | @Override... | |||||
136 | public boolean isDnaCoding() | ||||||
137 | { | ||||||
138 | 0 | return false; | |||||
139 | } | ||||||
140 | |||||||
141 | /** | ||||||
142 | * Answers false - override as required in subclasses | ||||||
143 | */ | ||||||
|
|||||||
144 | 13575 | @Override... | |||||
145 | public boolean isAlignmentSource() | ||||||
146 | { | ||||||
147 | 13575 | return false; | |||||
148 | } | ||||||
149 | |||||||
|
|||||||
150 | 0 | @Override... | |||||
151 | public String getDescription() | ||||||
152 | { | ||||||
153 | 0 | return ""; | |||||
154 | } | ||||||
155 | |||||||
|
|||||||
156 | 2 | @Override... | |||||
157 | public FeatureSettingsModelI getFeatureColourScheme() | ||||||
158 | { | ||||||
159 | 2 | return null; | |||||
160 | } | ||||||
161 | } |