Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Phybema
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kurtz, Prof. Dr. Stefan
Phybema
Commits
a1d6b0bb
Commit
a1d6b0bb
authored
5 years ago
by
Birgitta Paeuker
Browse files
Options
Downloads
Patches
Plain Diff
Added README
parent
149ff0d6
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README
+146
-0
146 additions, 0 deletions
README
README.md
+0
-3
0 additions, 3 deletions
README.md
with
146 additions
and
3 deletions
README
0 → 100644
+
146
−
0
View file @
a1d6b0bb
#INSTALL:
Phybema requires the installation of the following programms:
- python version >= 3.5
- numpy
- Java 1.7 (for TreeCmp)
Phybema contains the source code of the software TreeCmp.
The orginal source code can be found at https://eti.pg.edu.pl/treecmp/.
to compile Phybema call:
make
#TEST:
to run the tests call:
make test
#CLEAN UP:
make clean
#RUN:
run Phybema with:
phybema.py [-h]
[--tools {andi,mash,...}
[{andi,mash,...} ...]]
[-o {pdf,png,svg,none}] [-d [metric [metric ...]]] [-m]
datasetpaths [datasetpaths ...]
positional arguments:
datasetpaths Specify a list of paths to directories which
contain a datafile and optionally a reference
tree. A datafile must be in
FASTA format (.fasta,.faa,.fna,.fasta.gz),
a reference tree must be
in newick format (.nh,.tre).
All genomes must be contained in one FASTA file.
For datafiles with a reference tree the
resulting NJ-tree (derived from the distances
delivered by the corresponding tool) will be
compared to the reference tree.
The genome names will be cut after 10 characters.
The reference tree must contain the
exact genome names resulting.
For datafiles without reference and if at least
two tools have been specified, the resulting
NJ-trees are compared against each other.
optional arguments:
-h, --help show this help message and exit
--tools {andi,mash,...}
[{andi,mash,...} ...]
Specify the tools to evaluate.
If this is the last option, then use -- before
specifying any data set.
default: use all tools.
-o {pdf,png,svg,none}, --out_treefile_suffix {pdf,png,svg,none}
Specify suffix of output files
with the NJ-trees computed from the distance
matrices delivered by each tool. The argument
"none" means that no graphic-file is
generated. This is useful for remote sessions,
where this does not work
anyway, as the ete toolkit, which generates the
graphics output requires Qt and an X-server
default: pdf
-d [metric [metric ...]], --dist [metric [metric ...]]
Specify the distance metrics to use for
comparing the resulting NJ-trees with the
reference tree.
More than one metric is possible.
Possible metrics are:
ms Matching Split metric
pd Path Difference metric
qt Quartet metric
nrf normalised Robinson-Foulds distance
rf Robinson-Foulds distance
ms, pd, qt and rf are computed by TreeCmp,
nrf is computed using the ETE3 toolkit
default: use nrf only
-m, --mat Write the distance matrices originally computed
by the different programs into out.
#ADD A TOOL
Technical Requirements for distance estimators
• input: sequences in multi FASTA-Format
• output: distance matrix in PHYLIP-format
• output to file or stdout
Add a new tool as an instance of the class DistanceEstimator in the
module estimators.py. Add your tool at the Point "ADD YOUR TOOL HERE".
Include a tool by defining:
progname = DistanceEstimator(call,call_options,fixed_out_file_name,
optional_end))
with:
progname variable to add the defined instance
of DistanceEstimator
call Define the path to call the program from
call_options define program-specific options
fixed_out_file_name if the output is written into a file:
specify the name of the outputfile
optional_end option to name parameters which have to be
defined at the end of a list of parameters
for calling the program.
By adding progname into the list all_estimators the tool is added to phybema.
#FOLDER STRUCTURE:
- src: includes scripts for Phybema
- src_external: contains the source code of the software TreeCmp.
The orginal source code can be found at https://eti.pg.edu.pl/treecmp/.
- testdata: provides real and simulated data
- testsiud: includes test scripts
- temp: temporary files generated while calling Phybema will be written here
- out: generated files will be written here
Makefile
README
This diff is collapsed.
Click to expand it.
README.md
deleted
100644 → 0
+
0
−
3
View file @
149ff0d6
# Phybema
Sources and Data for the Phylogenetic Benchmarking Project Phybema
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment