Jim Procter [Sun, 4 Sep 2016 12:13:46 +0000 (13:13 +0100)]
JAL-1803 chainCode moved onto property hashtable as chain_code
Jim Procter [Sun, 4 Sep 2016 12:11:44 +0000 (13:11 +0100)]
JAL-1803 patch test: PDBEntry.getFile() will always be different, but never null
Jim Procter [Thu, 1 Sep 2016 09:16:48 +0000 (10:16 +0100)]
JAL-1803 JAL-2188 experimental:
Don’t go looking for new cross-references if we already have a mapping between a PDBEntry and a sequence - speeds up viewing already downloaded structure data.
Jim Procter [Wed, 31 Aug 2016 16:22:32 +0000 (17:22 +0100)]
JAL-1926 JAL-2106 source DB refs come from SequenceI.getPrimaryDBRefs()
Jim Procter [Wed, 31 Aug 2016 16:21:58 +0000 (17:21 +0100)]
JAL-1926 JAL-2106 resolve source DB refs using canonical dbsource match
Jim Procter [Wed, 31 Aug 2016 16:13:22 +0000 (17:13 +0100)]
JAL-1926 JAL-2106 fix PDB primary DBRef semantics: must have a matching PDBEntry with non-null File. type field doesn’t matter
Jim Procter [Wed, 31 Aug 2016 15:16:06 +0000 (16:16 +0100)]
JAL-2157 JAL-2154 simplify CanshowProducts code to avoid one source of NPE
Jim Procter [Tue, 30 Aug 2016 17:06:00 +0000 (18:06 +0100)]
Merge branch 'develop' into merge/develop_bug/JAL-2154projectMappings
Jim Procter [Tue, 30 Aug 2016 15:18:38 +0000 (16:18 +0100)]
JAL-2154 doc & AssertError trap for known failure case due to JAL-2179
Jim Procter [Tue, 30 Aug 2016 15:17:12 +0000 (16:17 +0100)]
JAL-2154 always compare canonicalised DBRefEntry source strings!
Jim Procter [Tue, 30 Aug 2016 15:16:35 +0000 (16:16 +0100)]
JAL-2154 simplify expression
gmungoc [Tue, 30 Aug 2016 14:58:47 +0000 (15:58 +0100)]
JAL-2183 defensive check for openFrameCount < 0 (shouldn't happen but
did)
gmungoc [Tue, 30 Aug 2016 14:49:34 +0000 (15:49 +0100)]
JAL-2183 simplified database tree actionPerformed, accept dbl-click
gmungoc [Tue, 30 Aug 2016 14:45:45 +0000 (15:45 +0100)]
JAL-2183 revised change (= no change)
gmungoc [Tue, 30 Aug 2016 14:27:14 +0000 (15:27 +0100)]
JAL-2183 formatter added @Override (only)
gmungoc [Tue, 30 Aug 2016 14:26:31 +0000 (15:26 +0100)]
JAL-2183 removed redundant (overriden) add panel to container
Jim Procter [Tue, 30 Aug 2016 13:44:49 +0000 (14:44 +0100)]
JAL-2154 javadoc, fix underloaded version of assertDatasetIsNormalised
Jim Procter [Tue, 30 Aug 2016 13:30:34 +0000 (14:30 +0100)]
Merge branch 'develop' into merge/develop_bug/JAL-2154projectMappings
Jim Procter [Mon, 29 Aug 2016 21:20:23 +0000 (22:20 +0100)]
JAL-2154 don’t synthesise multiple CDS|<Acc> sequences when one is already available on dataset (fixes crossRefs2XML failure - CDS|ENST00000288602 found duplicated
"Pass (0,0,0): before start of pass3: ENSEMBL ENSG00000157764 -> UNIPROT{0}:”)
Jim Procter [Mon, 29 Aug 2016 21:15:58 +0000 (22:15 +0100)]
JAL-2154 filter out dbrefs that already match primary refs for sequences already retrieved. This is a patch for ENA records where protein products were not reconstructed (
AC006347) resulting in duplicate sequence fetches
Jim Procter [Mon, 29 Aug 2016 21:13:13 +0000 (22:13 +0100)]
JAL-2154 refactor if (for easier breakpoint) and formatting
Jim Procter [Mon, 29 Aug 2016 21:10:27 +0000 (22:10 +0100)]
JAL-2154 canonical dbsources are lowercased before matching
Jim Procter [Mon, 29 Aug 2016 21:09:50 +0000 (22:09 +0100)]
JAL-2154 ENA specific Ensembl canonical db prefixes
Jim Procter [Mon, 29 Aug 2016 21:09:02 +0000 (22:09 +0100)]
JAL-2154 endless loop fixed (hopefully :) )
gmungoc [Mon, 29 Aug 2016 11:31:34 +0000 (12:31 +0100)]
JAL-1854 tweaks to rules and README
Jim Procter [Mon, 29 Aug 2016 11:10:10 +0000 (12:10 +0100)]
JAL-2154 catch insertion of duplicate CDS after retrieve cross-references with Alignment.assertDatasetIsNormaised
Jim Procter [Mon, 29 Aug 2016 11:07:13 +0000 (12:07 +0100)]
JAL-2154 Optional message parameter for assertDatasetNormalised
Jim Procter [Mon, 29 Aug 2016 11:02:03 +0000 (12:02 +0100)]
JAL-2154 new assertDatasetIsNormalised to trivially test for the addition of identical sequence data in the dataset (e.g. due to faulty create CDS sequence processes)
Jim Procter [Mon, 29 Aug 2016 10:59:47 +0000 (11:59 +0100)]
JAL-2154 additional test that removing a duplicate sequence reinstates dataset reference validity
gmungoc [Mon, 29 Aug 2016 10:23:58 +0000 (11:23 +0100)]
JAL-1854 checkstyle relocated to /utils, newlines to Unix (?)
gmungoc [Mon, 29 Aug 2016 09:24:23 +0000 (10:24 +0100)]
Merge branch 'bug/JAL-1841rnaSecStr' into develop
gmungoc [Mon, 29 Aug 2016 09:23:59 +0000 (10:23 +0100)]
JAL-1448 updated unit test for last change
gmungoc [Mon, 29 Aug 2016 09:10:20 +0000 (10:10 +0100)]
JAL-1841 robustness fix
gmungoc [Mon, 29 Aug 2016 08:01:06 +0000 (09:01 +0100)]
Merge branch 'develop' into bug/JAL-1841rnaSecStr
gmungoc [Fri, 26 Aug 2016 15:28:53 +0000 (16:28 +0100)]
JAL-1854 two more rules, readme notes
Jim Procter [Fri, 26 Aug 2016 15:09:16 +0000 (16:09 +0100)]
JAL-2154 patch regression on DbRefFetcher due to PDB being dropped from NUCLEOTIDEDBS and PROTEINDBS lists
Jim Procter [Fri, 26 Aug 2016 14:37:36 +0000 (15:37 +0100)]
Merge branch 'bug/JAL-2154projectMappings' into merge/develop_bug/JAL-2154projectMappings
Jim Procter [Fri, 26 Aug 2016 13:53:31 +0000 (14:53 +0100)]
JAL-2106 fix (last one!) remove the Sequence.sourceDBRef field!
Jim Procter [Fri, 26 Aug 2016 12:43:22 +0000 (13:43 +0100)]
JAL-2154 ENSEMBL and Uniprot tests
Jim Procter [Fri, 26 Aug 2016 12:43:06 +0000 (13:43 +0100)]
JAL-2154 report any db fetch failures as a fail at end
Jim Procter [Fri, 26 Aug 2016 12:24:05 +0000 (13:24 +0100)]
JAL-2154 ensure pass increments actually result in a termination
Jim Procter [Fri, 26 Aug 2016 12:22:56 +0000 (13:22 +0100)]
JAL-2154 catch and report a failures when xrefed project didn’t seem to have associated file (possibly due to failed ref retrieval)
Jim Procter [Fri, 26 Aug 2016 12:21:33 +0000 (13:21 +0100)]
JAL-2154 check that xref is a coding xref before adding sequence to retrieved xrefs
Jim Procter [Fri, 26 Aug 2016 12:20:51 +0000 (13:20 +0100)]
JAL-2154 don’t add any remaining xrefed sequences of the wrong molecule type to the alignment
gmungoc [Fri, 26 Aug 2016 11:15:06 +0000 (12:15 +0100)]
Merge branch 'develop' into bug/JAL-1841rnaSecStr
gmungoc [Fri, 26 Aug 2016 11:11:57 +0000 (12:11 +0100)]
JAL-1854 commented FallThrough rule
gmungoc [Fri, 26 Aug 2016 11:11:22 +0000 (12:11 +0100)]
JAL-1854 corrected nested package rule
gmungoc [Fri, 26 Aug 2016 11:09:27 +0000 (12:09 +0100)]
JAL-2049 set Ensembl variant source to ENSEMBL if '.' (not provided) and
in computed peptide variants
Jim Procter [Fri, 26 Aug 2016 09:52:45 +0000 (10:52 +0100)]
JAL-2154 drop PDB from Protein db list to remove from fetch cross-refs menu
Jim Procter [Fri, 26 Aug 2016 09:51:23 +0000 (10:51 +0100)]
JAL-2154 Defer failing cross-ref combinations that didn’t result in a new alignment window till end of test
Jim Procter [Fri, 26 Aug 2016 09:50:35 +0000 (10:50 +0100)]
JAL-2154 check that CDS panel is only nucleotide, and protein panel is only Protein for retrieved cross-refs
gmungoc [Fri, 26 Aug 2016 09:33:38 +0000 (10:33 +0100)]
JAL-1854 comment switch case fallthrough
Jim Procter [Thu, 25 Aug 2016 19:56:02 +0000 (20:56 +0100)]
JAL-2106 JAL-2154 fix test for additional reference transferred from locus to CDS as well as Peptide
Jim Procter [Thu, 25 Aug 2016 19:55:19 +0000 (20:55 +0100)]
JAL-2106 JAL-2154 cross-refs from Ensembl should verify as cross refs only
Jim Procter [Thu, 25 Aug 2016 19:53:46 +0000 (20:53 +0100)]
JAL-2106 tighten DBRefEntry primary seq test for PDB
Jim Procter [Thu, 25 Aug 2016 19:52:43 +0000 (20:52 +0100)]
JAL-2154 JAL-2106 transfer primary refs to CDS for makeCDS
Jim Procter [Thu, 25 Aug 2016 19:51:31 +0000 (20:51 +0100)]
JAL-2154 copy and paste error
gmungoc [Thu, 25 Aug 2016 16:19:23 +0000 (17:19 +0100)]
JAL-1854 missing case break statements added
gmungoc [Thu, 25 Aug 2016 16:11:15 +0000 (17:11 +0100)]
JAL-1854 initial checkstyle config
Jim Procter [Thu, 25 Aug 2016 11:13:56 +0000 (12:13 +0100)]
Merge branch 'trailm' into trial_fixMakeCDSDBRefPropagation
Jim Procter [Thu, 25 Aug 2016 11:12:06 +0000 (12:12 +0100)]
Merge branch 'refactor/JAL-2106_sourceDbRef_revision' into trailm
Jim Procter [Thu, 25 Aug 2016 11:10:25 +0000 (12:10 +0100)]
Merge branch 'develop' into bug/JAL-2154projectMappings
Conflicts:
src/jalview/gui/AlignFrame.java - propagated MessageManager tweak to jalview/gui/CrossRefAction.java
Jim Procter [Thu, 25 Aug 2016 09:54:04 +0000 (10:54 +0100)]
Merge branch 'develop' into refactor/JAL-2106_sourceDbRef_revision
gmungoc [Thu, 25 Aug 2016 08:22:25 +0000 (09:22 +0100)]
JAL-2178 remove duplicate Uniprot db source
gmungoc [Thu, 25 Aug 2016 07:59:59 +0000 (08:59 +0100)]
JAL-1424 duplicate key removed
Jim Procter [Wed, 24 Aug 2016 16:37:54 +0000 (17:37 +0100)]
JAL-2106 FIXME for test failure
Jim Procter [Wed, 24 Aug 2016 16:31:31 +0000 (17:31 +0100)]
JAL-2106 TODO - verify Embl primary refs get added
Jim Procter [Wed, 24 Aug 2016 16:29:55 +0000 (17:29 +0100)]
JAL-2106 tidy up and comments for DBRefFetcher
Jim Procter [Wed, 24 Aug 2016 16:29:27 +0000 (17:29 +0100)]
JAL-2106 javadoc for sifts mapping method
Jim Procter [Wed, 24 Aug 2016 16:29:13 +0000 (17:29 +0100)]
JAL-2106 prevent SIFTS mappings for sequences that don’t look like protein
Jim Procter [Wed, 24 Aug 2016 16:28:30 +0000 (17:28 +0100)]
JAL-2106 removed setSourceDBRef, refactor getSourceDBRef to getPrimaryDBRefs
* minimal test for PDB cornercase
* minimal revision of AlignmentUtils/Tests, CrossRef
* basic patch to SIFTSClient - need to revisit
TODO
* jalview.io.StructureFile re ‘PDB’ primary dbrefs generated from filenames.
* verify primary refs added correctly for Uniprot, EMBL, Ensembl and EnsemblGenomes in their unit tests.
Jim Procter [Wed, 24 Aug 2016 15:47:35 +0000 (16:47 +0100)]
JAL-2106 stricter check for 1:1 mapping (same numbering on both sides, and word size == 1)
Jim Procter [Wed, 24 Aug 2016 15:46:30 +0000 (16:46 +0100)]
JAL-2106 rejig test to minimally verify patch that getPDBEntry can be called on local and dataset sequence
Jim Procter [Wed, 24 Aug 2016 14:44:21 +0000 (15:44 +0100)]
JAL-2106 formatting
Jim Procter [Wed, 24 Aug 2016 14:43:43 +0000 (15:43 +0100)]
JAL-2106 DBRefEntry.isPrimary() minimal test & implementation
Jim Procter [Wed, 24 Aug 2016 14:45:11 +0000 (15:45 +0100)]
JAL-2106 convenience method to find all dbsource names via reflection
gmungoc [Wed, 24 Aug 2016 13:39:05 +0000 (14:39 +0100)]
JAL-1355 correct 'thereshold' to 'threshold' in message keys
gmungoc [Wed, 24 Aug 2016 13:31:37 +0000 (14:31 +0100)]
JAL-1424 removed unused and duplicated message keys
gmungoc [Wed, 24 Aug 2016 13:27:22 +0000 (14:27 +0100)]
JAL-1424 tidy / recode MessageManager calls to support code analysis
gmungoc [Wed, 24 Aug 2016 13:24:20 +0000 (14:24 +0100)]
JAL-1854 removed pointless method override
gmungoc [Wed, 24 Aug 2016 13:23:04 +0000 (14:23 +0100)]
JAL-1424 removed two redundant (overwritten) setText() calls
gmungoc [Wed, 24 Aug 2016 13:22:12 +0000 (14:22 +0100)]
JAL-1424 corrected Message bundle lookup key
gmungoc [Wed, 24 Aug 2016 13:21:10 +0000 (14:21 +0100)]
JAL-1424 undo i18n of exception message
gmungoc [Wed, 24 Aug 2016 13:19:34 +0000 (14:19 +0100)]
JAL-1854 declare immutable class as final
gmungoc [Wed, 24 Aug 2016 13:15:05 +0000 (14:15 +0100)]
JAL-1424 recode calls to MessageManager to allow code inspection
gmungoc [Wed, 24 Aug 2016 13:07:26 +0000 (14:07 +0100)]
JAL-2151 port fix to applet
gmungoc [Wed, 24 Aug 2016 13:05:39 +0000 (14:05 +0100)]
JAL-1424 enhanced for cleaner reporting, checks calls to JvSwingUtils
gmungoc [Wed, 24 Aug 2016 09:34:04 +0000 (10:34 +0100)]
JAL-1424 also report (obsolete) keys in translated bundle not in default
Jim Procter [Tue, 23 Aug 2016 17:46:38 +0000 (18:46 +0100)]
JAL-2154 updated testMakeCDSAlignment for expected propagate CDS behaviour (ahem - this should have been checked in *before* implementation!)
Jim Procter [Tue, 23 Aug 2016 17:42:53 +0000 (18:42 +0100)]
JAL-2154 propagate from contig to CDS after constructing CDS sequence, and only propagate refs with congruent mappings *and* corresponding mapping on protein product
Jim Procter [Tue, 23 Aug 2016 17:40:19 +0000 (18:40 +0100)]
JAL-2154 should only add mappings between dataset sequences
Jim Procter [Tue, 23 Aug 2016 16:44:39 +0000 (17:44 +0100)]
JAL-2154 - only copy DBRef from contig to new CDS sequence which involve same mapped region
Jim Procter [Tue, 23 Aug 2016 10:17:42 +0000 (11:17 +0100)]
Merge branch 'develop' into bug/JAL-2154projectMappings
Conflicts:
src/jalview/gui/AlignFrame.java
- pushed raise warning dialog to CrossRefAction
test/jalview/analysis/AlignmentUtilsTests.java
- simple merge
test/jalview/io/Jalview2xmlTests.java
- pushed updated BeforeClass setup to Jalview2xmlBase
gmungoc [Tue, 23 Aug 2016 09:41:15 +0000 (10:41 +0100)]
JAL-2176 unused field / methods removed
gmungoc [Tue, 23 Aug 2016 08:16:51 +0000 (09:16 +0100)]
JAL-2174 markColumns() refactored inside ColumnSelection
Jim Procter [Mon, 22 Aug 2016 15:42:53 +0000 (16:42 +0100)]
JAL-2154 - rejig test pass code for breadth-first (or top down) repetition of fetch/fetch crossref/fetch crossref.
* First iteration, all pass counters at zero, process through all crossrefs.
* Next iteration, pass1=1 - recover, process through all crossers
* Next iteration, pass2=1 - recover each first crossref result and process through
* Last iteration, pass3=1 - recover each second crossref result and process.
gmungoc [Mon, 22 Aug 2016 15:21:38 +0000 (16:21 +0100)]
JAL-1448 corrected for backwards compatibility for UK locale users
gmungoc [Mon, 22 Aug 2016 14:39:43 +0000 (15:39 +0100)]
JAL-2175 code tidying
gmungoc [Mon, 22 Aug 2016 14:38:54 +0000 (15:38 +0100)]
JAL-2175 code/test fixes/tidy for PFAM/MSF/JSON roundtrip
Jim Procter [Mon, 22 Aug 2016 12:01:35 +0000 (13:01 +0100)]
JAL-2154 verify recovered xref sequence not already in dataset before adding it