Page 1 of 1

First visualised Core 17 workunit

Posted: Mon Oct 13, 2014 3:00 pm
by ChristianVirtual
I guess some fellow folder realised that I love my iPad and try to make it as much as possible involved in my personal folding experience. And for every one who want too ...

In addition it always bothered me that Core 17 WU couldn't be visualised properly in any tool available for FAH. But here it comes the outcome of a day work: the first ever in public visualised Core 17 Workunit :D

Image

Project 13001 (R:140, C:7, G:23)
Atoms: 4351
Bonds: 3597

The data are mainly available in the working directory; I first hoped it was as easy as copying the viewerTop.json and the related viewerFrame1.json files.
But those files contain not all relevant information like all bonds or indicators for alpha Carbon.
:idea: So I had to write a little Python script serving as server and listen to a port. Once received a command it will read the system.xml and combine it with the viewerTop.json file to produce the required output as defined by 3rd part API. And skipping all the water in the system.xml file. :egeek:

Two issues I would like to suggest being raised in new bug fix reports or added to existing one: :!:
1) The bonds in the the viewerTop.json file are only about 50% of the required bonds; need to combine segments "Constraints" and "Bonds"
2) The viewerTop.json don't contain important information about AlphaCarbon, charge, radius, mass of each atom or position in the side chain (only one-digit chemical symbol H, C, N and O, ...).

Right now the python script is not yet robust enough in case of multiple connections or reconnections. So would be a bit immature to share in the current state; but will hopefully soon share here and/or on github. :ewink:

Re: First visualised Core 17 workunit

Posted: Tue Oct 14, 2014 2:00 am
by PS3EdOlkkola
Nicely done ChristianVirtual!

Thoughtful, logical and incredibly creative technical skill -- the foundation of truly great engineering talent.

I'm not easily impressed, but what you've created is really fantastic. I'm looking forward to its release on github!

Re: First visualised Core 17 workunit

Posted: Tue Oct 14, 2014 4:09 am
by ChristianVirtual
Thanks PS3EdOlkkola,

great to hear. Its just a hobby, powered by positive feedback :D Unlikely there is an any engineering talent anymore growing in me. Too old for that (never say no, though).

The github is published under https://github.com/ChristianVirtual/FAH ... 7Trajectoy

But I need to reduce the expectation a bit: that is only a script transforming the data from Core17 (as a workaround) into something any generic viewer can use ( Jesse_V , still around ?). To really enjoy the visual impression of Core17 I need to submit a change to Apple AppStore for my iPad app (and finish my Android version of the viewer). That might take another week or two or three.

Just as a teaser ... and in hope that the official developer team eventually will enable the official software to provide the data on regular way.

Re: First visualised Core 17 workunit

Posted: Tue Oct 14, 2014 1:04 pm
by ChristianVirtual
... and another image on how it look in the context of the UI:

Image

Finally I also to managed to analyse the backbone and side chain properly:

Image
(One question: someone with chemical background and detailed knowledge about WU 13001 could confirm the collection of side chains ? That would be fantastic ! :) )

Re: First visualised Core 17 workunit

Posted: Wed Oct 15, 2014 3:36 am
by Jesse_V
ChristianVirtual wrote:The github is published under https://github.com/ChristianVirtual/FAH ... 7Trajectoy

But I need to reduce the expectation a bit: that is only a script transforming the data from Core17 (as a workaround) into something any generic viewer can use ( Jesse_V , still around ?). To really enjoy the visual impression of Core17 I need to submit a change to Apple AppStore for my iPad app (and finish my Android version of the viewer). That might take another week or two or three.
I'm still around. I lurk a bit from time to time.

As long as you transform the data into a more readable format that's fine. If you transform it into the format that FAHClient puts out, that's even better since then any third-party visualizer doesn't have to have two separate parsers. From your code, it looks like that's what you're doing, so awesome! I'll see it I can put out some updates to my viewer, I've got a bit of market pressure now that you've gone and put your app in the Apple store. :)

Official Folding@home development is quite slow, which is disappointing at times, but I'm really excited to see these third-party add-ons.

Re: First visualised Core 17 workunit

Posted: Wed Oct 15, 2014 4:06 am
by ChristianVirtual
The main difference between the standard behavior and my script is: Slot vs workunit. Else should be replaceable in format. I'm also a lazy guy don't want two parser. (I might add a zip-mode though to save bandwidth on mobile connection).

Standard API based on slot ID while my reading of the file structures are based on WU ID. Was partially too lazy to do the mapping inside the script from slot to WU; there would be not an reliable way except login remote again and get the value.

The viewer should differentiate between the standard port 36330 (for slot based trajectory) and as foreseen by the script via port 36331 for WU based data. Again: once the standard Core/clients is fixed that solution should disappear anyway.

Re: First visualised Core 17 workunit

Posted: Fri Nov 21, 2014 11:02 pm
by artsci2
Thanks for taking this project up! I would love to keep a 3D molecule portfolio with before and after versions of "my" molecules.