pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/biojava/biojava/commit/f779dc3d32958ca5a717a40129f73c20acca47b7

esheet" href="https://github.githubassets.com/assets/global-d18f184ea1a06a2c.css" /> Docs · biojava/biojava@f779dc3 · GitHub
Skip to content

Commit f779dc3

Browse files
committed
Docs
1 parent ed322e3 commit f779dc3

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

biojava-integrationtest/src/test/java/org/biojava/nbio/structure/test/symmetry/TestQuatSymmetryDetectorExamples.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ public void testSymDetectionWithClusteringByEntityId() throws IOException, Struc
398398
/**
399399
* A performance test that demonstrates how the SubunitClustererParameters.setUseEntityIdForSeqIdentityDetermination()
400400
* has a dramatic effect in runtime versus doing alignments.
401-
* This takes minutes with the parameter on, but hours without the parameter.
402401
*/
403402
@Ignore("This is a performance test to be run manually")
404403
@Test
@@ -413,14 +412,20 @@ public void testSymDetectionPerformanceLargeCapsid() throws IOException, Structu
413412
StructureIO.setAtomCache(cache);
414413

415414
// making sure we remove all atoms but representative before we expand, otherwise memory requirements are huge
415+
// 6Q1F is another good example
416416
Structure au = StructureIO.getStructure("6NHJ");
417417
StructureTools.reduceToRepresentativeAtoms(au);
418418
BiologicalAssemblyBuilder builder = new BiologicalAssemblyBuilder();
419419
List<BiologicalAssemblyTransformation> transforms = au.getPDBHeader().getBioAssemblies().get(1).getTransforms();
420-
Structure pdb =builder.rebuildQuaternaryStructure(au, transforms, true, false);
420+
Structure pdb = builder.rebuildQuaternaryStructure(au, transforms, true, false);
421421

422422
SubunitClustererParameters cp = new SubunitClustererParameters();
423-
cp.setUseEntityIdForSeqIdentityDetermination(true); // this is the parameter that makes this fast
423+
424+
// This is the parameter that makes this fast, set it to false to see the difference.
425+
// As of git commit ed322e387cd46344a7864a, the difference in runtime is not that huge:
426+
// 2 minutes with true, 10 minutes with false. I observed a much larger difference before, but can't reproduce anymore - JD 2020-01-23
427+
cp.setUseEntityIdForSeqIdentityDetermination(true);
428+
424429
cp.setClustererMethod(SubunitClustererMethod.SEQUENCE);
425430
QuatSymmetryParameters symmParams = new QuatSymmetryParameters();
426431
QuatSymmetryResults symmetry = QuatSymmetryDetector.calcGlobalSymmetry(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy