JAL-3187 don't compute variant features on peptide, show on demand
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 25 Jan 2019 09:19:31 +0000 (09:19 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 25 Jan 2019 09:19:31 +0000 (09:19 +0000)
src/jalview/ext/ensembl/EnsemblSeqProxy.java
src/jalview/io/vcf/VCFLoader.java

index 7b448fd..648272c 100644 (file)
@@ -332,8 +332,8 @@ public abstract class EnsemblSeqProxy extends EnsemblRestClient
          * copy exon features to protein, compute peptide variants from dna 
          * variants and add as features on the protein sequence ta-da
          */
-        AlignmentUtils.computeProteinFeatures(querySeq, proteinSeq,
-                mapList);
+        // JAL-3187 render on the fly instead
+        // AlignmentUtils.computeProteinFeatures(querySeq, proteinSeq, mapList);
       }
     } catch (Exception e)
     {
index de2f18a..ff57d82 100644 (file)
@@ -1,6 +1,5 @@
 package jalview.io.vcf;
 
-import jalview.analysis.AlignmentUtils;
 import jalview.analysis.Dna;
 import jalview.api.AlignViewControllerGuiI;
 import jalview.bin.Cache;
@@ -563,7 +562,8 @@ public class VCFLoader
         /*
          * dna-to-peptide product mapping
          */
-        AlignmentUtils.computeProteinFeatures(seq, mapTo, map);
+        // JAL-3187 render on the fly instead
+        // AlignmentUtils.computeProteinFeatures(seq, mapTo, map);
       }
       else
       {