willpearse / phylogenerator2 Goto Github PK
View Code? Open in Web Editor NEWphyloGenerator 2 - (completely) automated phylogenetics for brave
License: Other
phyloGenerator 2 - (completely) automated phylogenetics for brave
License: Other
...is needed, because otherwise things like COI are very hard/impossible to search for (Rhiannon's butterflies!!!)
I tried the simple_plants
demo, and when i turn on phy_params
(specifically, bootstrapping) nothing different happens: it just performs a simple ML search.
Searching through the repo, I see no other mention of phy_params
other than the demo yaml file, so maybe this is just not yet implemented? I'd diagnose further, but unfortunately have no ruby experience :(
Edited simple plants demo to use hawkeye (bottom line change in important):
jhill1@rheic ~/work/software/phyloGenerator2 $ diff demo/simple_plants_he/params.yml demo/simple_plants/params.yml
16c16
< species: /home/jhill1/work/software/phyloGenerator2/demo/simple_plants_he/leipzig.txt
---
> species: /home/will/Code/phyloGenerator2/demo/simple_plants/species.txt
19c19
< working_dir: /home/jhill1/work/software/phyloGenerator2/demo/simple_plants_he
---
> working_dir: /home/will/test
21c21
< email: [email protected]
---
> email: [email protected]
32c32
< ref_file: /home/jhill1/work/software/phyloGenerator2/demo/simple_plants_he/rbcL_reference.fasta
---
> ref_file: /home/will/Code/phyloGenerator2/demo/simple_plants/rbcL_reference.fasta
40c40
< ref_file: /home/jhill1/work/software/phyloGenerator2/demo/simple_plants_he/matK_reference.fasta
---
> ref_file: /home/will/Code/phyloGenerator2/demo/simple_plants/matK_reference.fasta
60c60
< hawkeye: true
---
> #hawkeye: true
Gives following error:
jhill1@rheic ~/work/software/phyloGenerator2 $ ruby pG_2.rb demo/simple_plants_he/params.yml
phyloGenerator 2.0-2 DOI: 10.1111/2041-210X.12055
Please *use with caution*; first version!
Will Pearse - [email protected]
- Setup complete...
- - rbcL: 143/182 sequences found
- - matK: 106/182 sequences found
- Download complete...
/home/jhill1/work/software/phyloGenerator2/lib/Hawkeye.rb:40:in `check': undefined local variable or method `verbose' for #<Hawkeye:0x00000002d18b50> (NameError)
from /home/jhill1/work/software/phyloGenerator2/lib/Cap.rb:48:in `block (2 levels) in check'
To check a given phylogeny, and to identify potentially bad sequences
Sorry. A hugely minor point but like most nerds I despise the creation of file names with spaces:
pG2_log_19-12-2016 16:25
yuck! Add a hyphen or an underscore instead?
(mafft
& raxml
already installed / executable. Not sure how pg2 will 'find' my raxml though...)
sudo gem install bio
[sudo] password for ross:
Fetching: bio-1.5.1.gem (100%)
Successfully installed bio-1.5.1
Parsing documentation for bio-1.5.1
Installing ri documentation for bio-1.5.1
Done installing documentation for bio after 8 seconds
1 gem installed
$ ./pG_2.rb ./demo/simple_plants/params.yml
Ignoring escape_utils-1.1.0 because its extensions are not built. Try: gem pristine escape_utils --version 1.1.0
Ignoring executable-hooks-1.3.2 because its extensions are not built. Try: gem pristine executable-hooks --version 1.3.2
Ignoring ffi-1.9.10 because its extensions are not built. Try: gem pristine ffi --version 1.9.10
Ignoring gem-wrappers-1.2.7 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.2.7
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bio (LoadError)
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/ross/workspace/phyloGenerator2/lib/Download.rb:6:in `<top (required)>'
from /home/ross/workspace/phyloGenerator2/lib/Cap.rb:2:in `require_relative'
from /home/ross/workspace/phyloGenerator2/lib/Cap.rb:2:in `<top (required)>'
from ./pG_2.rb:6:in `require_relative'
from ./pG_2.rb:6:in `<main>'
Will -- Is is possible to update the shebang in pG_2.rb to #!/usr/bin/env ruby
? May work better for people like me that have the handicapped ruby shipped with the OS in /usr/bin
and a more current version somewhere else. Thx for a great program btw!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.