Skip to content

Conversation

@erinyoung
Copy link
Contributor

I'd like to add a gotree image to this effort.

gotree is a simply tree manipulator that helps with workflows.

It even has commandline visualizations

 gotree reroot midpoint -i iqtree.treefile.nwk | gotree draw text
                                                                                                                                                                       +3619123                         
                                                                                                                                                                       +                                
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------|3675802                         
|                                                                                                                                                                      |                                
|                                                                                                                                                                       3662791                         
|                                                                                                                                                                                                       
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------- Escherichia_coli_GCF_000005845.2

Pull Request (PR) checklist:

  • Include a description of what is in this pull request in this message.
  • The dockerfile successfully builds to a test target for the user creating the PR. (i.e. docker build --tag samtools:1.15test --target test docker-builds/build-files/samtools/1.15 )
  • Directory structure as name of the tool in lower case with special characters removed with a subdirectory of the version number in build-files (i.e. docker-builds/build-files/spades/3.12.0/Dockerfile)
    • (optional) All test files are located in same directory as the Dockerfile (i.e. build-files/shigatyper/2.0.1/test.sh)
  • Create a simple container-specific README.md in the same directory as the Dockerfile (i.e. docker-builds/build-files/spades/3.12.0/README.md)
    • If this README is longer than 30 lines, there is an explanation as to why more detail was needed
  • Dockerfile includes the recommended LABELS
  • Main README.md has been updated to include the tool and/or version of the dockerfile(s) in this PR
  • Program_Licenses.md contains the tool(s) used in this PR and has been updated for any missing

@kapsakcj
Copy link
Collaborator

Is it expected or normal to see NaN in the test output showing the tree stats? The tests look like they passed, but thought I'd ask since I'm unfamiliar with this tool

#11 [test 4/4] RUN gotree generate uniformtree -l 100 -n 10 | gotree stats
#11 0.256 tree  nodes   tips    edges   meanbrlen       sumbrlen        meansupport     mediansupport   rooted  nbcherries      colless sackin
#11 0.259 0     198     100     197     0.10513674      20.71193870     NaN     NaN     unrooted        26      -       -
#11 0.260 1     198     100     197     0.09829449      19.36401391     NaN     NaN     unrooted        31      -       -
#11 0.261 2     198     100     197     0.09590848      18.89397023     NaN     NaN     unrooted        27      -       -
#11 0.264 3     198     100     197     0.10744472      21.16660992     NaN     NaN     unrooted        23      -       -
#11 0.265 4     198     100     197     0.10560810      20.80479585     NaN     NaN     unrooted        30      -       -
#11 0.265 5     198     100     197     0.09216359      18.15622639     NaN     NaN     unrooted        22      -       -
#11 0.267 6     198     100     197     0.09335302      18.39054399     NaN     NaN     unrooted        25      -       -
#11 0.268 7     198     100     197     0.09944785      19.59122734     NaN     NaN     unrooted        24      -       -
#11 0.270 8     198     100     197     0.08563558      16.87020922     NaN     NaN     unrooted        24      -       -
#11 0.271 9     198     100     197     0.10414921      20.51739522     NaN     NaN     unrooted        26      -       -
#11 DONE 0.3s

@erinyoung
Copy link
Contributor Author

Is it expected or normal to see NaN in the test output showing the tree stats? The tests look like they passed, but thought I'd ask since I'm unfamiliar with this tool

#11 [test 4/4] RUN gotree generate uniformtree -l 100 -n 10 | gotree stats
#11 0.256 tree  nodes   tips    edges   meanbrlen       sumbrlen        meansupport     mediansupport   rooted  nbcherries      colless sackin
#11 0.259 0     198     100     197     0.10513674      20.71193870     NaN     NaN     unrooted        26      -       -
#11 0.260 1     198     100     197     0.09829449      19.36401391     NaN     NaN     unrooted        31      -       -
#11 0.261 2     198     100     197     0.09590848      18.89397023     NaN     NaN     unrooted        27      -       -
#11 0.264 3     198     100     197     0.10744472      21.16660992     NaN     NaN     unrooted        23      -       -
#11 0.265 4     198     100     197     0.10560810      20.80479585     NaN     NaN     unrooted        30      -       -
#11 0.265 5     198     100     197     0.09216359      18.15622639     NaN     NaN     unrooted        22      -       -
#11 0.267 6     198     100     197     0.09335302      18.39054399     NaN     NaN     unrooted        25      -       -
#11 0.268 7     198     100     197     0.09944785      19.59122734     NaN     NaN     unrooted        24      -       -
#11 0.270 8     198     100     197     0.08563558      16.87020922     NaN     NaN     unrooted        24      -       -
#11 0.271 9     198     100     197     0.10414921      20.51739522     NaN     NaN     unrooted        26      -       -
#11 DONE 0.3s

The command gotree generate uniformtree -l 100 -n 10 generates an unrooted tree. Most of the stats require the tree to be rooted, and are NaN otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants