Menu

#252 Add support for FAHClient viewerTop.json format

v14
open
nobody
None
Normal
2020-05-07
2020-05-04
Joey Paris
No

From what I'm seeing FAHClient hasn't used the current.xyz format in a while. It now produces a viewerTop.json and several viewerFrame00.json files. Being able to load these file types instead would make for a seemless live browser based view of the FAHClient.

Related

Feature Requests: #252

Discussion

  • Joey Paris

    Joey Paris - 2020-05-05

    These are generated in the work directory by the FoldingAtHome client (FAHClient). On Mac these files are located in /Library/Application Support/FAHClient/work/XX/ where XX is a 0 padded 2-digit number, that seems to depend on what projects are being actively worked on by the FAHClient although I'm not 100% positive that's how that number is generated. The path on Linux machines is /var/lib/fahclient/work/XX/. I am unsure about the Windows work directory path.

    Both files should be available locally, as long as the FAHClient is actively working on a simulation.

    From my understanding (albeit limited), You only need the viewerTop.json file once, and then you can get the different frames just by requesting the specific frame[n] file.

     

    Last edit: Joey Paris 2020-05-05
    • Bob Hanson

      Bob Hanson - 2020-05-05

      OK, I propose:

      1) You can load the top file alone. It will just show one dot (all the
      atoms at 0 0 0).
      2) A second load using LOAD TRAJECTORY to load the coordinates will create
      the actual model.
      3) Subsequent LOAD TRAJECTORY will modify the coordinates only.
      4) Alternatively, you can use LOAD with the "file1+file2" option to load
      both at once and display a model, as with PDB files.
      5) Using LOAD APPEND file1+file2 you can see to models at the same time (in
      different frames unless set appendNew is FALSE)

      I should be able to have this for you tomorrow.

       
      • Joey Paris

        Joey Paris - 2020-05-05

        That sounds like a perfect solution to me! I honestly was not expecting to
        get an answer this quickly let alone a solution. I really appreciate it!
        Thank you and let me know if there’s any more information I can give you!

         

        Last edit: Joey Paris 2020-05-06
        • Bob Hanson

          Bob Hanson - 2020-05-06

          How's this?

          new feature: FAHReader FAH:: reads FoldingAtHome Top.json and
          FrameNNN.json files
          -- FAH:: is required for Frame files but not the Top file.
          -- automatic calculation of structure using DSSP
          -- Both files are required; two load options:

          LOAD FILES "ViewerTop.json" + "ViewerFrame22.json" // explicit joining
          

          to two files

          LOAD ViewerTop.json;
          LOAD XYZ FAH::ViewerFrame22.json   // first the atoms, then the
          

          coordinates

          LOAD FAH::ViewerFrame22.json        // just the coordinates with
          

          associated ViewerTop.json assumed present

          -- Subsequent calls to LOAD XYZ will replace coordinates and recalculate
          DSSP only.

          On Tue, May 5, 2020 at 6:25 PM Joey Paris joeyparis@users.sourceforge.net
          wrote:

          That sounds like a perfect solution to me! I honestly was not expecting to
          get an answer this quickly let alone a solution. I really appreciate it!
          Thank you and let me know if there’s any more information I can give you!

          On Tue, May 5, 2020 at 6:16 PM Bob Hanson hansonr@users.sourceforge.net
          wrote:

          OK, I propose:

          1) You can load the top file alone. It will just show one dot (all the
          atoms at 0 0 0).
          2) A second load using LOAD TRAJECTORY to load the coordinates will create
          the actual model.
          3) Subsequent LOAD TRAJECTORY will modify the coordinates only.
          4) Alternatively, you can use LOAD with the "file1+file2" option to load
          both at once and display a model, as with PDB files.
          5) Using LOAD APPEND file1+file2 you can see to models at the same time (in
          different frames unless set appendNew is FALSE)
          I should be able to have this for you tomorrow.

          Status: open
          Group: v14
          Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
          Last Updated: Tue May 05, 2020 06:24 PM UTC
          Owner: nobody

          From what I'm seeing FAHClient hasn't used the current.xyz format in a
          while. It now produces a viewerTop.json and several viewerFrame00.json
          files. Being able to load these file types instead would make for a
          seemless live browser based view of the FAHClient.


          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/jmol/feature-requests/252/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

          --
          Joey Paris

          CTO

          LeadJig + Acquire Direct
          (800) 771-9898
          Joey@LeadJig.com
          www.LeadJig.com https://www.leadjig.com/
          12620 Race Track Rd, Tampa, Fl 33626

          https://www.hubspot.com/email-signature-generator?utm_source=create-signature

          Status: open
          Group: v14
          Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
          Last Updated: Tue May 05, 2020 06:24 PM UTC
          Owner: nobody

          From what I'm seeing FAHClient hasn't used the current.xyz format in a
          while. It now produces a viewerTop.json and several viewerFrame00.json
          files. Being able to load these file types instead would make for a
          seemless live browser based view of the FAHClient.


          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/jmol/feature-requests/252/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

          --
          Robert M. Hanson
          Professor of Chemistry
          St. Olaf College
          Northfield, MN
          http://www.stolaf.edu/people/hansonr

          If nature does not answer first what we want,
          it is better to take what answer we get.

          -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

           

          Related

          Feature Requests: #252

          • Bob Hanson

            Bob Hanson - 2020-05-06

            Q: What are the "units" line options?

            On Wed, May 6, 2020 at 9:40 AM Robert Hanson hansonr@stolaf.edu wrote:

            How's this?

            new feature: FAHReader FAH:: reads FoldingAtHome Top.json and
            FrameNNN.json files
            -- FAH:: is required for Frame files but not the Top file.
            -- automatic calculation of structure using DSSP
            -- Both files are required; two load options:

            LOAD FILES "ViewerTop.json" + "ViewerFrame22.json" // explicit joining
            

            to two files

            LOAD ViewerTop.json;
            LOAD XYZ FAH::ViewerFrame22.json   // first the atoms, then the
            

            coordinates

            LOAD FAH::ViewerFrame22.json        // just the coordinates with
            

            associated ViewerTop.json assumed present

            -- Subsequent calls to LOAD XYZ will replace coordinates and recalculate
            DSSP only.

            On Tue, May 5, 2020 at 6:25 PM Joey Paris joeyparis@users.sourceforge.net
            wrote:

            That sounds like a perfect solution to me! I honestly was not expecting to
            get an answer this quickly let alone a solution. I really appreciate it!
            Thank you and let me know if there’s any more information I can give you!

            On Tue, May 5, 2020 at 6:16 PM Bob Hanson hansonr@users.sourceforge.net
            wrote:

            OK, I propose:

            1) You can load the top file alone. It will just show one dot (all the
            atoms at 0 0 0).
            2) A second load using LOAD TRAJECTORY to load the coordinates will create
            the actual model.
            3) Subsequent LOAD TRAJECTORY will modify the coordinates only.
            4) Alternatively, you can use LOAD with the "file1+file2" option to load
            both at once and display a model, as with PDB files.
            5) Using LOAD APPEND file1+file2 you can see to models at the same time
            (in
            different frames unless set appendNew is FALSE)
            I should be able to have this for you tomorrow.

            Status: open
            Group: v14
            Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
            Last Updated: Tue May 05, 2020 06:24 PM UTC
            Owner: nobody

            From what I'm seeing FAHClient hasn't used the current.xyz format in a
            while. It now produces a viewerTop.json and several viewerFrame00.json
            files. Being able to load these file types instead would make for a
            seemless live browser based view of the FAHClient.


            Sent from sourceforge.net because you indicated interest in
            https://sourceforge.net/p/jmol/feature-requests/252/

            To unsubscribe from further messages, please visit
            https://sourceforge.net/auth/subscriptions/

            --
            Joey Paris

            CTO

            LeadJig + Acquire Direct
            (800) 771-9898
            Joey@LeadJig.com
            www.LeadJig.com https://www.leadjig.com/
            12620 Race Track Rd, Tampa, Fl 33626

            https://www.hubspot.com/email-signature-generator?utm_source=create-signature

            Status: open
            Group: v14
            Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
            Last Updated: Tue May 05, 2020 06:24 PM UTC
            Owner: nobody

            From what I'm seeing FAHClient hasn't used the current.xyz format in a
            while. It now produces a viewerTop.json and several viewerFrame00.json
            files. Being able to load these file types instead would make for a
            seemless live browser based view of the FAHClient.


            Sent from sourceforge.net because you indicated interest in
            https://sourceforge.net/p/jmol/feature-requests/252/

            To unsubscribe from further messages, please visit
            https://sourceforge.net/auth/subscriptions/

            --
            Robert M. Hanson
            Professor of Chemistry
            St. Olaf College
            Northfield, MN
            http://www.stolaf.edu/people/hansonr

            If nature does not answer first what we want,
            it is better to take what answer we get.

            -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

            --
            Robert M. Hanson
            Professor of Chemistry
            St. Olaf College
            Northfield, MN
            http://www.stolaf.edu/people/hansonr

            If nature does not answer first what we want,
            it is better to take what answer we get.

            -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

             

            Related

            Feature Requests: #252

            • Joey Paris

              Joey Paris - 2020-05-06

              Based on the FAHViewer client (
              https://github.com/FoldingCommunity/fah-viewer/blob/a8d0f20d6cc1944f20d3cdd71885c1fc177773c8/src/fah/viewer/Trajectory.cpp)
              if
              I am reading it correctly, the options NM or NANOMETERS give
              the model a scale of 1, and the options A, ANGSTROM, or ANGSTROMS give the
              model a scale of 10. I don't know enough about protein visual
              structures to know where that scale is applied, but hopefully that's enough
              information for you to move forward!

              Also, it appears if no units are supplied it defaults to a scale of 10

               

              Last edit: Joey Paris 2020-05-06
              • Bob Hanson

                Bob Hanson - 2020-05-06

                OK, I will set that up. Right now it will only accept ANGSTROMS

                Please test and get back to me the Jmol.jar file in

                https://sourceforge.net/p/jmol/code/HEAD/tree/trunk/Jmol/test/jmol-jar/

                On Wed, May 6, 2020 at 10:05 AM Joey Paris joeyparis@users.sourceforge.net
                wrote:

                Based on the FAHViewer client (

                https://github.com/FoldingCommunity/fah-viewer/blob/a8d0f20d6cc1944f20d3cdd71885c1fc177773c8/src/fah/viewer/Trajectory.cpp
                )
                if
                I am reading it correctly, the options are either NM or NANOMETERS give
                the model a scale of 1, or A, ANGSTROM, or ANGSTROMS which means the
                model has a scale of 10. I don't know enough about protein visual
                structures to know where that scale is applied, but hopefully that's enough
                information for you to move forward!
                Joey Paris

                CTO

                LeadJig + Acquire Direct
                (800) 771-9898
                Joey@LeadJig.com
                www.LeadJig.com https://www.leadjig.com/
                12620 Race Track Rd, Tampa, Fl 33626

                https://www.hubspot.com/email-signature-generator?utm_source=create-signature

                On Wed, May 6, 2020 at 10:47 AM Bob Hanson hansonr@users.sourceforge.net
                wrote:

                Q: What are the "units" line options?

                On Wed, May 6, 2020 at 9:40 AM Robert Hanson hansonr@stolaf.edu wrote:

                How's this?

                new feature: FAHReader FAH:: reads FoldingAtHome Top.json and
                FrameNNN.json files
                -- FAH:: is required for Frame files but not the Top file.
                -- automatic calculation of structure using DSSP
                -- Both files are required; two load options:

                LOAD FILES "ViewerTop.json" + "ViewerFrame22.json" // explicit joining

                to two files

                LOAD ViewerTop.json;LOAD XYZ FAH::ViewerFrame22.json // first the atoms,
                then the

                coordinates

                LOAD FAH::ViewerFrame22.json // just the coordinates with

                associated ViewerTop.json assumed present

                -- Subsequent calls to LOAD XYZ will replace coordinates and recalculate
                DSSP only.

                On Tue, May 5, 2020 at 6:25 PM Joey Paris joeyparis@users.sourceforge.net
                wrote:

                That sounds like a perfect solution to me! I honestly was not expecting to
                get an answer this quickly let alone a solution. I really appreciate it!
                Thank you and let me know if there’s any more information I can give you!

                On Tue, May 5, 2020 at 6:16 PM Bob Hanson hansonr@users.sourceforge.net
                wrote:

                OK, I propose:

                1) You can load the top file alone. It will just show one dot (all the
                atoms at 0 0 0).
                2) A second load using LOAD TRAJECTORY to load the coordinates will create
                the actual model.
                3) Subsequent LOAD TRAJECTORY will modify the coordinates only.
                4) Alternatively, you can use LOAD with the "file1+file2" option to load
                both at once and display a model, as with PDB files.
                5) Using LOAD APPEND file1+file2 you can see to models at the same time
                (in
                different frames unless set appendNew is FALSE)
                I should be able to have this for you tomorrow.

                Status: open
                Group: v14
                Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                Last Updated: Tue May 05, 2020 06:24 PM UTC
                Owner: nobody

                From what I'm seeing FAHClient hasn't used the current.xyz format in a
                while. It now produces a viewerTop.json and several viewerFrame00.json
                files. Being able to load these file types instead would make for a
                seemless live browser based view of the FAHClient.


                Sent from sourceforge.net because you indicated interest in
                https://sourceforge.net/p/jmol/feature-requests/252/

                To unsubscribe from further messages, please visit
                https://sourceforge.net/auth/subscriptions/

                --
                Joey Paris

                CTO

                LeadJig + Acquire Direct
                (800) 771-9898
                Joey@LeadJig.com
                www.LeadJig.com https://www.leadjig.com/
                12620 Race Track Rd, Tampa, Fl 33626

                https://www.hubspot.com/email-signature-generator?utm_source=create-signature

                Status: open
                Group: v14
                Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                Last Updated: Tue May 05, 2020 06:24 PM UTC
                Owner: nobody

                From what I'm seeing FAHClient hasn't used the current.xyz format in a
                while. It now produces a viewerTop.json and several viewerFrame00.json
                files. Being able to load these file types instead would make for a
                seemless live browser based view of the FAHClient.


                Sent from sourceforge.net because you indicated interest in
                https://sourceforge.net/p/jmol/feature-requests/252/

                To unsubscribe from further messages, please visit
                https://sourceforge.net/auth/subscriptions/

                --
                Robert M. Hanson
                Professor of Chemistry
                St. Olaf College
                Northfield, MN
                http://www.stolaf.edu/people/hansonr

                If nature does not answer first what we want,
                it is better to take what answer we get.

                -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                --
                Robert M. Hanson
                Professor of Chemistry
                St. Olaf College
                Northfield, MN
                http://www.stolaf.edu/people/hansonr

                If nature does not answer first what we want,
                it is better to take what answer we get.
                -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                Status: open
                Group: v14
                Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                Last Updated: Tue May 05, 2020 06:24 PM UTC
                Owner: nobody

                From what I'm seeing FAHClient hasn't used the current.xyz format in a
                while. It now produces a viewerTop.json and several viewerFrame00.json
                files. Being able to load these file types instead would make for a
                seemless live browser based view of the FAHClient.


                Sent from sourceforge.net because you indicated interest in
                https://sourceforge.net/p/jmol/feature-requests/252/

                To unsubscribe from further messages, please visit
                https://sourceforge.net/auth/subscriptions/


                Status: open
                Group: v14
                Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                Last Updated: Tue May 05, 2020 06:24 PM UTC
                Owner: nobody

                From what I'm seeing FAHClient hasn't used the current.xyz format in a
                while. It now produces a viewerTop.json and several viewerFrame00.json
                files. Being able to load these file types instead would make for a
                seemless live browser based view of the FAHClient.


                Sent from sourceforge.net because you indicated interest in
                https://sourceforge.net/p/jmol/feature-requests/252/

                To unsubscribe from further messages, please visit
                https://sourceforge.net/auth/subscriptions/

                --
                Robert M. Hanson
                Professor of Chemistry
                St. Olaf College
                Northfield, MN
                http://www.stolaf.edu/people/hansonr

                If nature does not answer first what we want,
                it is better to take what answer we get.

                -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                 

                Related

                Feature Requests: #252

                • Bob Hanson

                  Bob Hanson - 2020-05-06

                  please send a NANOMETER example if you can.

                  On Wed, May 6, 2020 at 10:07 AM Robert Hanson hansonr@stolaf.edu wrote:

                  OK, I will set that up. Right now it will only accept ANGSTROMS

                  Please test and get back to me the Jmol.jar file in

                  https://sourceforge.net/p/jmol/code/HEAD/tree/trunk/Jmol/test/jmol-jar/

                  On Wed, May 6, 2020 at 10:05 AM Joey Paris joeyparis@users.sourceforge.net wrote:

                  Based on the FAHViewer client (

                  https://github.com/FoldingCommunity/fah-viewer/blob/a8d0f20d6cc1944f20d3cdd71885c1fc177773c8/src/fah/viewer/Trajectory.cpp
                  )
                  if
                  I am reading it correctly, the options are either NM or NANOMETERS give
                  the model a scale of 1, or A, ANGSTROM, or ANGSTROMS which means the
                  model has a scale of 10. I don't know enough about protein visual
                  structures to know where that scale is applied, but hopefully that's
                  enough
                  information for you to move forward!
                  Joey Paris

                  CTO

                  LeadJig + Acquire Direct
                  (800) 771-9898
                  Joey@LeadJig.com
                  www.LeadJig.com https://www.leadjig.com/
                  12620 Race Track Rd, Tampa, Fl 33626

                  https://www.hubspot.com/email-signature-generator?utm_source=create-signature

                  On Wed, May 6, 2020 at 10:47 AM Bob Hanson hansonr@users.sourceforge.net
                  wrote:

                  Q: What are the "units" line options?

                  On Wed, May 6, 2020 at 9:40 AM Robert Hanson hansonr@stolaf.edu wrote:

                  How's this?

                  new feature: FAHReader FAH:: reads FoldingAtHome Top.json and
                  FrameNNN.json files
                  -- FAH:: is required for Frame files but not the Top file.
                  -- automatic calculation of structure using DSSP
                  -- Both files are required; two load options:

                  LOAD FILES "ViewerTop.json" + "ViewerFrame22.json" // explicit joining

                  to two files

                  LOAD ViewerTop.json;LOAD XYZ FAH::ViewerFrame22.json // first the atoms,
                  then the

                  coordinates

                  LOAD FAH::ViewerFrame22.json // just the coordinates with

                  associated ViewerTop.json assumed present

                  -- Subsequent calls to LOAD XYZ will replace coordinates and recalculate
                  DSSP only.

                  On Tue, May 5, 2020 at 6:25 PM Joey Paris joeyparis@users.sourceforge.net
                  wrote:

                  That sounds like a perfect solution to me! I honestly was not expecting to
                  get an answer this quickly let alone a solution. I really appreciate it!
                  Thank you and let me know if there’s any more information I can give you!

                  On Tue, May 5, 2020 at 6:16 PM Bob Hanson hansonr@users.sourceforge.net
                  wrote:

                  OK, I propose:

                  1) You can load the top file alone. It will just show one dot (all the
                  atoms at 0 0 0).
                  2) A second load using LOAD TRAJECTORY to load the coordinates will create
                  the actual model.
                  3) Subsequent LOAD TRAJECTORY will modify the coordinates only.
                  4) Alternatively, you can use LOAD with the "file1+file2" option to load
                  both at once and display a model, as with PDB files.
                  5) Using LOAD APPEND file1+file2 you can see to models at the same time
                  (in
                  different frames unless set appendNew is FALSE)
                  I should be able to have this for you tomorrow.

                  Status: open
                  Group: v14
                  Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                  Last Updated: Tue May 05, 2020 06:24 PM UTC
                  Owner: nobody

                  From what I'm seeing FAHClient hasn't used the current.xyz format in a
                  while. It now produces a viewerTop.json and several viewerFrame00.json
                  files. Being able to load these file types instead would make for a
                  seemless live browser based view of the FAHClient.


                  Sent from sourceforge.net because you indicated interest in
                  https://sourceforge.net/p/jmol/feature-requests/252/

                  To unsubscribe from further messages, please visit
                  https://sourceforge.net/auth/subscriptions/

                  --
                  Joey Paris

                  CTO

                  LeadJig + Acquire Direct
                  (800) 771-9898
                  Joey@LeadJig.com
                  www.LeadJig.com https://www.leadjig.com/
                  12620 Race Track Rd, Tampa, Fl 33626

                  https://www.hubspot.com/email-signature-generator?utm_source=create-signature

                  Status: open
                  Group: v14
                  Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                  Last Updated: Tue May 05, 2020 06:24 PM UTC
                  Owner: nobody

                  From what I'm seeing FAHClient hasn't used the current.xyz format in a
                  while. It now produces a viewerTop.json and several viewerFrame00.json
                  files. Being able to load these file types instead would make for a
                  seemless live browser based view of the FAHClient.


                  Sent from sourceforge.net because you indicated interest in
                  https://sourceforge.net/p/jmol/feature-requests/252/

                  To unsubscribe from further messages, please visit
                  https://sourceforge.net/auth/subscriptions/

                  --
                  Robert M. Hanson
                  Professor of Chemistry
                  St. Olaf College
                  Northfield, MN
                  http://www.stolaf.edu/people/hansonr

                  If nature does not answer first what we want,
                  it is better to take what answer we get.

                  -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                  --
                  Robert M. Hanson
                  Professor of Chemistry
                  St. Olaf College
                  Northfield, MN
                  http://www.stolaf.edu/people/hansonr

                  If nature does not answer first what we want,
                  it is better to take what answer we get.
                  -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                  Status: open
                  Group: v14
                  Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                  Last Updated: Tue May 05, 2020 06:24 PM UTC
                  Owner: nobody

                  From what I'm seeing FAHClient hasn't used the current.xyz format in a
                  while. It now produces a viewerTop.json and several viewerFrame00.json
                  files. Being able to load these file types instead would make for a
                  seemless live browser based view of the FAHClient.


                  Sent from sourceforge.net because you indicated interest in
                  https://sourceforge.net/p/jmol/feature-requests/252/

                  To unsubscribe from further messages, please visit
                  https://sourceforge.net/auth/subscriptions/


                  Status: open
                  Group: v14
                  Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                  Last Updated: Tue May 05, 2020 06:24 PM UTC
                  Owner: nobody

                  From what I'm seeing FAHClient hasn't used the current.xyz format in a
                  while. It now produces a viewerTop.json and several viewerFrame00.json
                  files. Being able to load these file types instead would make for a
                  seemless live browser based view of the FAHClient.


                  Sent from sourceforge.net because you indicated interest in
                  https://sourceforge.net/p/jmol/feature-requests/252/

                  To unsubscribe from further messages, please visit
                  https://sourceforge.net/auth/subscriptions/

                  --
                  Robert M. Hanson
                  Professor of Chemistry
                  St. Olaf College
                  Northfield, MN
                  http://www.stolaf.edu/people/hansonr

                  If nature does not answer first what we want,
                  it is better to take what answer we get.

                  -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                  --
                  Robert M. Hanson
                  Professor of Chemistry
                  St. Olaf College
                  Northfield, MN
                  http://www.stolaf.edu/people/hansonr

                  If nature does not answer first what we want,
                  it is better to take what answer we get.

                  -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                   

                  Related

                  Feature Requests: #252

                  • Bob Hanson

                    Bob Hanson - 2020-05-06

                    one more update
                    https://sourceforge.net/p/jmol/code/HEAD/tree/trunk/Jmol/test/jmol-jar/

                    This one does a quick bond distance check to ensure that the units match
                    the actual structure (which they did not, in this case!)

                    On Wed, May 6, 2020 at 10:35 AM Bob Hanson hansonr@users.sourceforge.net
                    wrote:

                    please send a NANOMETER example if you can.

                    On Wed, May 6, 2020 at 10:07 AM Robert Hanson hansonr@stolaf.edu wrote:

                    OK, I will set that up. Right now it will only accept ANGSTROMS

                    Please test and get back to me the Jmol.jar file in

                    https://sourceforge.net/p/jmol/code/HEAD/tree/trunk/Jmol/test/jmol-jar/

                    On Wed, May 6, 2020 at 10:05 AM Joey Paris joeyparis@users.sourceforge.net
                    wrote:

                    Based on the FAHViewer client (

                    https://github.com/FoldingCommunity/fah-viewer/blob/a8d0f20d6cc1944f20d3cdd71885c1fc177773c8/src/fah/viewer/Trajectory.cpp
                    )
                    if
                    I am reading it correctly, the options are either NM or NANOMETERS give
                    the model a scale of 1, or A, ANGSTROM, or ANGSTROMS which means the
                    model has a scale of 10. I don't know enough about protein visual
                    structures to know where that scale is applied, but hopefully that's
                    enough
                    information for you to move forward!
                    Joey Paris

                    CTO

                    LeadJig + Acquire Direct
                    (800) 771-9898
                    Joey@LeadJig.com
                    www.LeadJig.com https://www.leadjig.com/
                    12620 Race Track Rd, Tampa, Fl 33626

                    https://www.hubspot.com/email-signature-generator?utm_source=create-signature

                    On Wed, May 6, 2020 at 10:47 AM Bob Hanson hansonr@users.sourceforge.net
                    wrote:

                    Q: What are the "units" line options?

                    On Wed, May 6, 2020 at 9:40 AM Robert Hanson hansonr@stolaf.edu wrote:

                    How's this?

                    new feature: FAHReader FAH:: reads FoldingAtHome Top.json and
                    FrameNNN.json files
                    -- FAH:: is required for Frame files but not the Top file.
                    -- automatic calculation of structure using DSSP
                    -- Both files are required; two load options:

                    LOAD FILES "ViewerTop.json" + "ViewerFrame22.json" // explicit joining

                    to two files

                    LOAD ViewerTop.json;LOAD XYZ FAH::ViewerFrame22.json // first the atoms,
                    then the

                    coordinates

                    LOAD FAH::ViewerFrame22.json // just the coordinates with

                    associated ViewerTop.json assumed present

                    -- Subsequent calls to LOAD XYZ will replace coordinates and recalculate
                    DSSP only.

                    On Tue, May 5, 2020 at 6:25 PM Joey Paris joeyparis@users.sourceforge.net
                    wrote:

                    That sounds like a perfect solution to me! I honestly was not expecting to
                    get an answer this quickly let alone a solution. I really appreciate it!
                    Thank you and let me know if there’s any more information I can give you!

                    On Tue, May 5, 2020 at 6:16 PM Bob Hanson hansonr@users.sourceforge.net
                    wrote:

                    OK, I propose:

                    1) You can load the top file alone. It will just show one dot (all the
                    atoms at 0 0 0).
                    2) A second load using LOAD TRAJECTORY to load the coordinates will create
                    the actual model.
                    3) Subsequent LOAD TRAJECTORY will modify the coordinates only.
                    4) Alternatively, you can use LOAD with the "file1+file2" option to load
                    both at once and display a model, as with PDB files.
                    5) Using LOAD APPEND file1+file2 you can see to models at the same time
                    (in
                    different frames unless set appendNew is FALSE)
                    I should be able to have this for you tomorrow.

                    Status: open
                    Group: v14
                    Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                    Last Updated: Tue May 05, 2020 06:24 PM UTC
                    Owner: nobody

                    From what I'm seeing FAHClient hasn't used the current.xyz format in a
                    while. It now produces a viewerTop.json and several viewerFrame00.json
                    files. Being able to load these file types instead would make for a
                    seemless live browser based view of the FAHClient.


                    Sent from sourceforge.net because you indicated interest in
                    https://sourceforge.net/p/jmol/feature-requests/252/

                    To unsubscribe from further messages, please visit
                    https://sourceforge.net/auth/subscriptions/

                    --
                    Joey Paris

                    CTO

                    LeadJig + Acquire Direct
                    (800) 771-9898
                    Joey@LeadJig.com
                    www.LeadJig.com https://www.leadjig.com/
                    12620 Race Track Rd, Tampa, Fl 33626

                    https://www.hubspot.com/email-signature-generator?utm_source=create-signature

                    Status: open
                    Group: v14
                    Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                    Last Updated: Tue May 05, 2020 06:24 PM UTC
                    Owner: nobody

                    From what I'm seeing FAHClient hasn't used the current.xyz format in a
                    while. It now produces a viewerTop.json and several viewerFrame00.json
                    files. Being able to load these file types instead would make for a
                    seemless live browser based view of the FAHClient.


                    Sent from sourceforge.net because you indicated interest in
                    https://sourceforge.net/p/jmol/feature-requests/252/

                    To unsubscribe from further messages, please visit
                    https://sourceforge.net/auth/subscriptions/

                    --
                    Robert M. Hanson
                    Professor of Chemistry
                    St. Olaf College
                    Northfield, MN
                    http://www.stolaf.edu/people/hansonr

                    If nature does not answer first what we want,
                    it is better to take what answer we get.

                    -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                    --
                    Robert M. Hanson
                    Professor of Chemistry
                    St. Olaf College
                    Northfield, MN
                    http://www.stolaf.edu/people/hansonr

                    If nature does not answer first what we want,
                    it is better to take what answer we get.
                    -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                    Status: open
                    Group: v14
                    Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                    Last Updated: Tue May 05, 2020 06:24 PM UTC
                    Owner: nobody

                    From what I'm seeing FAHClient hasn't used the current.xyz format in a
                    while. It now produces a viewerTop.json and several viewerFrame00.json
                    files. Being able to load these file types instead would make for a
                    seemless live browser based view of the FAHClient.


                    Sent from sourceforge.net because you indicated interest in
                    https://sourceforge.net/p/jmol/feature-requests/252/

                    To unsubscribe from further messages, please visit
                    https://sourceforge.net/auth/subscriptions/


                    Status: open
                    Group: v14
                    Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                    Last Updated: Tue May 05, 2020 06:24 PM UTC
                    Owner: nobody

                    From what I'm seeing FAHClient hasn't used the current.xyz format in a
                    while. It now produces a viewerTop.json and several viewerFrame00.json
                    files. Being able to load these file types instead would make for a
                    seemless live browser based view of the FAHClient.


                    Sent from sourceforge.net because you indicated interest in
                    https://sourceforge.net/p/jmol/feature-requests/252/

                    To unsubscribe from further messages, please visit
                    https://sourceforge.net/auth/subscriptions/

                    --
                    Robert M. Hanson
                    Professor of Chemistry
                    St. Olaf College
                    Northfield, MN
                    http://www.stolaf.edu/people/hansonr

                    If nature does not answer first what we want,
                    it is better to take what answer we get.

                    -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                    --
                    Robert M. Hanson
                    Professor of Chemistry
                    St. Olaf College
                    Northfield, MN
                    http://www.stolaf.edu/people/hansonr

                    If nature does not answer first what we want,
                    it is better to take what answer we get.

                    -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                    Status: open
                    Group: v14
                    Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                    Last Updated: Wed May 06, 2020 03:32 PM UTC
                    Owner: nobody

                    From what I'm seeing FAHClient hasn't used the current.xyz format in a
                    while. It now produces a viewerTop.json and several viewerFrame00.json
                    files. Being able to load these file types instead would make for a
                    seemless live browser based view of the FAHClient.


                    Sent from sourceforge.net because you indicated interest in
                    https://sourceforge.net/p/jmol/feature-requests/252/

                    To unsubscribe from further messages, please visit
                    https://sourceforge.net/auth/subscriptions/

                    --
                    Robert M. Hanson
                    Professor of Chemistry
                    St. Olaf College
                    Northfield, MN
                    http://www.stolaf.edu/people/hansonr

                    If nature does not answer first what we want,
                    it is better to take what answer we get.

                    -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                     

                    Related

                    Feature Requests: #252

                    • Joey Paris

                      Joey Paris - 2020-05-06

                      That's looking much more appropriately scaled! The console help text is a nice addition as well.

                       

                      Last edit: Joey Paris 2020-05-06
                      • Bob Hanson

                        Bob Hanson - 2020-05-06

                        Yes. So that ViewerTop file is wrong. These Frame files are in NM.

                        On Wed, May 6, 2020 at 11:28 AM Joey Paris joeyparis@users.sourceforge.net
                        wrote:

                        That's looking much more appropriately scaled!

                        Attachments:


                        Status: open
                        Group: v14
                        Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                        Last Updated: Wed May 06, 2020 04:19 PM UTC
                        Owner: nobody

                        From what I'm seeing FAHClient hasn't used the current.xyz format in a
                        while. It now produces a viewerTop.json and several viewerFrame00.json
                        files. Being able to load these file types instead would make for a
                        seemless live browser based view of the FAHClient.


                        Sent from sourceforge.net because you indicated interest in
                        https://sourceforge.net/p/jmol/feature-requests/252/

                        To unsubscribe from further messages, please visit
                        https://sourceforge.net/auth/subscriptions/

                        --
                        Robert M. Hanson
                        Professor of Chemistry
                        St. Olaf College
                        Northfield, MN
                        http://www.stolaf.edu/people/hansonr

                        If nature does not answer first what we want,
                        it is better to take what answer we get.

                        -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                         

                        Related

                        Feature Requests: #252

                        • Joey Paris

                          Joey Paris - 2020-05-06

                          Interesting. I wonder if that's an underlying problem with the FAHClient since I got those files straight from there. Here's some new files from what my computer is currently working on so we can see if it's a consistant inaccuracy.

                          I also probably should have asked earlier, but once this update goes live the JSmol package will automatically be updated as well, correct?

                           
                          • Bob Hanson

                            Bob Hanson - 2020-05-06

                            No question that these are in NM.

                            [
                            [0.844847, -2.192282, 0.472762],
                            [0.824088, -2.148159, 0.561211],
                            [0.782002, -2.264074, 0.439637],
                            [0.926617, -2.244784, 0.500298],
                            [0.872098, -2.087131, 0.373569],
                            [0.948068, -2.021726, 0.416368],
                            [0.924359, -2.139544, 0.240121],
                            [0.845438, -2.193618, 0.187885],
                            [1.001068, -2.216059, 0.252044],

                            WAY too small numbers for Angstroms.

                            Good news is that I have code now that allows Jmol to auto-scale these
                            regardless of what "units" reads. The user gets a notification:

                            FAHReader found NANOMETERS based on bonds[0].length=0.15197037160396576

                            Means they have all been scaled up by a factor of before leaving FAHReader.

                             
                            • Bob Hanson

                              Bob Hanson - 2020-05-06

                              update - yes, I think we're ready for that now.

                              On Wed, May 6, 2020 at 12:15 PM Robert Hanson hansonr@stolaf.edu wrote:

                              No question that these are in NM.

                              [
                              [0.844847, -2.192282, 0.472762],
                              [0.824088, -2.148159, 0.561211],
                              [0.782002, -2.264074, 0.439637],
                              [0.926617, -2.244784, 0.500298],
                              [0.872098, -2.087131, 0.373569],
                              [0.948068, -2.021726, 0.416368],
                              [0.924359, -2.139544, 0.240121],
                              [0.845438, -2.193618, 0.187885],
                              [1.001068, -2.216059, 0.252044],

                              WAY too small numbers for Angstroms.

                              Good news is that I have code now that allows Jmol to auto-scale these
                              regardless of what "units" reads. The user gets a notification:

                              FAHReader found NANOMETERS based on bonds[0].length=0.15197037160396576

                              Means they have all been scaled up by a factor of before leaving FAHReader.

                              --
                              Robert M. Hanson
                              Professor of Chemistry
                              St. Olaf College
                              Northfield, MN
                              http://www.stolaf.edu/people/hansonr

                              If nature does not answer first what we want,
                              it is better to take what answer we get.

                              -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                               
                              • Joey Paris

                                Joey Paris - 2020-05-06

                                Awesome! Thanks again for the super quick turn around on this. I will open a ticket on the FoldingAtHome github about the output unit being incorrect.

                                 
                                • Bob Hanson

                                  Bob Hanson - 2020-05-06

                                  I have changed the message to:

                                  FAHReader CORRECTION: Top.json file units=ANGSTROM
                                  but we found NANOMETERS based on
                                  bonds[0].length=0.15197037160396576

                                  So you can send that to them, if you want. Here is the updated package:

                                  *Looking for the latest version? * Download Jmol-14.30.2-binary.zip (72.6
                                  MB) https://sourceforge.net/projects/jmol/files/latest/download

                                  BTW, code for this is at
                                  https://sourceforge.net/p/jmol/code/HEAD/tree/trunk/Jmol/src/org/jmol/adapter/readers/simple/FAHReader.java

                                  On Wed, May 6, 2020 at 12:25 PM Joey Paris joeyparis@users.sourceforge.net
                                  wrote:

                                  Awesome! Thanks again for the super quick turn around on this. I will open
                                  a ticket on the FoldingAtHome github about the output unit being incorrect.


                                  Status: open
                                  Group: v14
                                  Created: Mon May 04, 2020 07:36 PM UTC by Joey Paris
                                  Last Updated: Wed May 06, 2020 04:46 PM UTC
                                  Owner: nobody

                                  From what I'm seeing FAHClient hasn't used the current.xyz format in a
                                  while. It now produces a viewerTop.json and several viewerFrame00.json
                                  files. Being able to load these file types instead would make for a
                                  seemless live browser based view of the FAHClient.


                                  Sent from sourceforge.net because you indicated interest in
                                  https://sourceforge.net/p/jmol/feature-requests/252/

                                  To unsubscribe from further messages, please visit
                                  https://sourceforge.net/auth/subscriptions/

                                  --
                                  Robert M. Hanson
                                  Professor of Chemistry
                                  St. Olaf College
                                  Northfield, MN
                                  http://www.stolaf.edu/people/hansonr

                                  If nature does not answer first what we want,
                                  it is better to take what answer we get.

                                  -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

                                   

                                  Related

                                  Feature Requests: #252

                                  • Joey Paris

                                    Joey Paris - 2020-05-07

                                    Looks like everything is working as expected! Played around with the JSmol version a bit and it's working great. Thanks again for all your help with this.

                                    I also got that ticket opened on GitHub so hopefully someone there can address it!

                                    Now on to making the background transparent during the live render, but I'm trying to figure that out myself.

                                     
                  • Joey Paris

                    Joey Paris - 2020-05-06
                    Post awaiting moderation.
  • Joey Paris

    Joey Paris - 2020-05-06

    I ran through the three sample ways to load in coordinated like you mentioned and all generated basically this visual! There wasn't much change between the frames, but I'm assuming that's just because the protein didn't actually change that much.

    I also ran it with what my computer is currently folding and they seemed to have similar shape. In both FAHViewer and Jmol. The only thing I couldn't figure out was how to decrease the size of the atoms, but I'm pretty sure that was just user error.

     

Log in to post a comment.

MongoDB Logo MongoDB