Coder Social home page Coder Social logo

spread3's People

Contributors

fbielejec avatar guybaele avatar plemey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spread3's Issues

converter works not well

After I generate the index file (and convert it to index.new with the provided script), the lines representing the migration path are "fixed". What I mean is that they are present from time 0 to the end of the considered time period.
additionally, the "lines layer" is not present in the toggle layer visibility menu.
Thank you for any help you could provide me
@terrycojones
index.zip
image

"setup location attributes coordinates" did not show up

I ran Spread3 with log file from BSSVS analysis. I have 183 collumns of rates and 183 collumns of indicators, yet nothing happened, the option "setup location attributes coordinates" did not show.
When I use 100 collumns of rates and 100 collumns of indicators, the option "setup location attributes coordinates" appeared.
Is that means there are too much nodes?

Thanks a lot!

no HPD_modality attribute causes a continuous trait analysis of MCC tree to fail

If there is no _%HPD_modality attribute on the tree, then the SpreaD3 gui raises an error:

setSelectedIndex: 0 out of bounds

STDOUT shows the real error:

locationsgeo_%HPD_modality attribute could not be found on the internal node. Resulting visualisation may be incomplete!

... and yes, the visualisation is incomplete (no HPD ranges).

The Spherical Diffusion phylogeography package for BEAST2 doesn't seem to log this attribute, and the HPD info is in locationsgeo{1,2}_95%_HPD={..}.

Perhaps the GUI should display a more helpful error message (like the one in STDOUT).

Does the BEAST2 package need to log the modality for SpreaD3 to work?

Serving d3-renderer

Upon 'render-to-d3' Spread should create a tiny HTTP server on localhost and serve the content (.json .html .js bundle) statically, pointing the browser to it.

D3 tooltips

The tooltips could carry more information, i.e. we could use them to display attribute values used for mapping aesthetics (color, area, width, etc).

can't save render file

When I click 'render' for render to d3, I get an error saying 'spreaD3_v0.96.jar (No such file or directory)'

A few months ago when I used spreaD3 it did work, so not sure what the issue is now. It does seem that the program now isn't 'seeing' within some of my files on my MacBook (OS Catalina) , as at the file upload step, it can only see inside the dropbox folder, and not documents on my computer.

Any advice extremely welcome.

empty go-between directories

The rendered files are stored 3(!) empty folders away from the base directory that is created. Much more user friendly is to move the files to the base dir.

burn-in in continuous tree distribution

We need a box that allows entering value rather than a slider here: the 500 limit is just arbitrary and may not suffice. If you really want a slider here than we should accommodate a percentage as burn-in

Export to SVG doesn't seem to do anything

Hi all

I'm helping someone use spread3. He just showed me a loaded index.html page with a map in it. There's a menu on the left labelled "Export" and it has a single option, "SVG", in it. But when he clicks on SVG, he's just taken to the map again. View Source shows the same minimal HTML that loads the spread3 main.js JavaScript but there's no sign of SVG anywhere. He gets the same bahaviour in Firefox & Safari.

Does the SVG option actually work?

Terry

setup location attributes does not appear when load log file

Dear Spread3 experts,

I load the log file and it says in the text at the bottom of the window that it has been opened, but no box to specify location attributes appears?

(this box does appear when I upload Tree file for the same runs but i want to compute the bayes factors, so need the log option)

Previousy I did this with the rates.log files- I think this is correct, not just the .log files?
I am using the output of combined log files from Log combiner

extremely grateful for any assistance
thanks
Camilla

Rendering problem to directory name containing underscore in Windows 10

Error occurred during a continuous phylogeography spreaD3 analysis. When 'Render to D3' is performed and a name containing an underscore is entered, the following error message appears:

c:\Users\MK\Downloads>java -jar spreaD3_v0.9.6.jar
MRSD is in yyyy/MM/dd format : 2016/7/22
Parsed time line
Parsed the tree
Parsed tree attributes
Parsed map attributes
Created JSON file
Unexpected problem on thread SwingWorker-pool-2-thread-4: C:\Users\MK\Documents\SISMID\continuousPhylogeography\WNT_output4\renderers\d3\d3renderer\index.html (The system cannot find the path specified)
Stack trace:
java.io.FileNotFoundException: C:\Users\MK\Documents\SISMID\continuousPhylogeography\WNT_output4\renderers\d3\d3renderer\index.html (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at renderers.d3.D3Renderer.render(Unknown Source)
at gui.panels.D3RenderPanel$1.doInBackground(Unknown Source)
at gui.panels.D3RenderPanel$1.doInBackground(Unknown Source)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

The output html file is empty

Hi,
I used SpreaD3 to reproduce the image of Ebola virus dataset in example 1, the html file was generated but empty, could you please help me to check where the problem is?
(BTW: my operation systerm is Win10, and I have also set the Chrome's permission.)
I packed all the files and uploaded as attachment, please check it at your convenience, I would be very grateful for your time.
Subsection 4.1.zip

Sincere thanks,

Ouyang Peng.

File not found exception on Windows

When performing a continuous phylogeography rendering using spreaD3, some Windows machines generate the following error upon clicking 'Render to D3' and entering a file name: File Not Found Exception: spreaD3_v0.9.6.jar. This problem only occurs when starting spreaD3 by double-clicking on the jar file. When running from the command line using 'java -jar spreaD3_v0.9.6.jar' on those same machines, the problem does not occur.

Create a combo-box chooser for HPD level

MCC tree with continuous traits can possibly be annotated with multiple HPD values. Current auto-magic code will just select the first one it finds. We need an option to choose from. After parsing all of these one can then merge into one JSON file and create joint visualisation, coloring HPD contours by their HPD confidence levels.

Toggle buttons don't work in certain Safari versions

On OSX 10.10.5, almost none of the toggle buttons at the left seem to work in Safari (tested on 2 different systems with the same OSX version). I can't reproduce this (my OSX: 10.11.3), so perhaps later Safari versions don't suffer from this issue.

about plotting

We have formed json file and renderers also index.html files, but when I open the html files, it showed Nothing, I feel nervous for I have plot this example file for two days, but get the empty plot. Thankyou!

unused visualisation options

for discrete traits: there is a polygon' as well ascircular polygon’ option to play with. I suggest that ‘empty’ stuff is simply not shown -> avoids confusion in the sense that people will think that there perhaps should be something, and they will send lots of spam …

SpreaD3 does not show computer files when attempting to load tree

Hello,

I'm using Java v 1.8 and Mac OS 12.3.1. When I attempt to load my tree file, under the "LOAD" button, and there are no files shown. I have attached a screenshot of what this looks like. (In the bottom left corner of the SpreaD3 software it says "Could Not Open!"

Screen Shot 2022-10-18 at 9 36 03 PM

Any insight into this issue would be greatly appreciated!

Decimal format disappears

Upon selecting decimal format for entering most recent sampling date (when loading a continuous analysis; in the Data panel), the text field next to it disappears but reappears after moving the mouse (over it).

Controls are vertically aligned...

Controls are vertically aligned down the side with many controls off the page, so to change a setting: (i) scroll down and visualization disappears; (ii) change setting; and (iii) scroll back up to see change in visualization. It would be better to always align the visualization to the top of the browser window.

ebov example

point area attribute: when selecting country, the point area disappears.

Reconstructions don't cross the dateline

Hi there,

From my analysis, I'm wondering whether the analysis is limited by the borders of the lat/lon spectrum. I've noticed that my results suggest that the routes taken by my pathogen are often the 'long way round' ie. from South Asia to west coast of South America, but instead of crossing the Pacific, it goes west.

This issue might rectify itself when I start using my full dataset, but the results on my test dataset seem to suggest that perhaps the location analysis doesn't accommodate transport anticlockwise ie across the dateline. Could you confirm if I need to adjust any settings to accommodate for this or if this feature isn't yet available?

Thanks!

Amy

How to make a world map centered on the pacific ocean?

Hello,

I'm trying to visualize the virus phylogeography and transmissions among South-East Asia and pacific ocean islands (fiji, french polynesia, etc...). I used /data/geoJSON_maps/world.geojson to plot our MCC tree from BEAST. The problem on the result (attached) is that the pacific ocean region is splitted by the international date line and put at both edge of the map, so that there is a lot of lines jumping from the left to right (right to left) on the map. The problem remains if I use the subregion maps, e.g. /data/geoJSON_maps/region_wb_East_Asia_and_Pacific_subunits.geojson.

I want to make a map centered on the pacific ocean. It seems that I need to modify the javascript code generated by SpreaD3, main.js to change the coordinate of the map-center but I'm not clear which points should be modified. I very appreciate if you could give me some comments on this issue.

Best,
pacific_phylogeo

order in continuous tree distribution analysis

It would be more consistent with the other analysis, and probably avoid user problems, if the posterior tree distribution needs to be loaded first (with its location attribute selection), and only then the MCC true for the slicing.

Opening JSON file from within a browser

Add sufficient information, for different platforms this time, on how to start Google Chrome with a command-line option so that JSON files can be loaded from within Google Chrome.

BF visualisation

as per your own suggestion: perhaps include a line opacity attribute. Or a line width attribute :-)

HPD level in continuous tree distribution analysis

It is hard to know/see what HPD level is selected with the slider. The log in the bottom left corner can help, but either only shows HPD levels rounded to one decimal or it indicates only such values can be select (despite the fact that you often want something like 0.95). I think that a box to specify the exact value would be more useful...

Build fail for git version and 0.9.5

command is ant jar

0.9.5 Error log

Buildfile: /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/build.xml

compile:
    [mkdir] Created dir: /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/classes
    [mkdir] Created dir: /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/classes/icons
    [mkdir] Created dir: /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/classes/colorpicker/swing/resources
    [mkdir] Created dir: /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/classes/renderers/d3/d3renderer
    [javac] Compiling 226 source files to /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 6
    [javac] warning: [options] source value 6 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/src/gui/MergePanel.java:23: warning: SynchronizedSymbolTable is internal proprietary API and may be removed in a future release
    [javac] import com.sun.org.apache.xerces.internal.util.SynchronizedSymbolTable;
    [javac]                                               ^
    [javac] /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/src/parsers/ContinuousTreeParser.java:12: error: package com.sun.corba.se.impl.javax.rmi.CORBA does not exist
    [javac] import com.sun.corba.se.impl.javax.rmi.CORBA.Util;
    [javac]                                             ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/src/colorpicker/swing/ColorPickerDemo.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 5 warnings

BUILD FAILED
/home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/build.xml:68: Compile failed; see the compiler error output for details.

Total time: 2 seconds

git error log

Buildfile: /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/build.xml

compile:
    [mkdir] Created dir: /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/classes
    [mkdir] Created dir: /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/classes/icons
    [mkdir] Created dir: /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/classes/colorpicker/swing/resources
    [mkdir] Created dir: /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/classes/renderers/d3/d3renderer
    [javac] Compiling 226 source files to /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 6
    [javac] warning: [options] source value 6 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/src/gui/MergePanel.java:23: warning: SynchronizedSymbolTable is internal proprietary API and may be removed in a future release
    [javac] import com.sun.org.apache.xerces.internal.util.SynchronizedSymbolTable;
    [javac]                                               ^
    [javac] /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/src/parsers/ContinuousTreeParser.java:12: error: package com.sun.corba.se.impl.javax.rmi.CORBA does not exist
    [javac] import com.sun.corba.se.impl.javax.rmi.CORBA.Util;
    [javac]                                             ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: /home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/src/colorpicker/swing/ColorPickerDemo.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 5 warnings

BUILD FAILED
/home/guoyi/Downloads/SpreaD3-0.9.5/SpreaD3/build.xml:68: Compile failed; see the compiler error output for details.

Total time: 2 seconds

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.