Comments (8)
Your alignment didn't load. see the second line of the output. But thanks for pointing it out -- I have to improve error handling.
from treetime.
Do you have any idea why the alignment did not load? I tried phylip and aln file formats so I don't understand why it wont read any of them.
I also tried using python by importing TreeAnc from treetime but here is the error that came up:
>>> from treetime import TreeAnc
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from treetime import TreeAnc
ImportError: cannot import name 'TreeAnc'
from treetime.
- it checks whether it can read them as
fasta
,phylib-relaxed
ornexus
.
https://github.com/neherlab/treetime/blob/master/treetime/treeanc.py#L271
Try loading your alignment with Bio.AlignIO.read first. - are you sure you are using the right python distribution? The previous script evidently loaded
TreeAnc
from treetime.
Bio.AlignIO.read was able to load the alignment file just fine.
from treetime.
sorry. I only ever tested fasta format. there was an obvious problem reading other formats than fasta. I just pushed a fix in a0ca5b5. You can either reinstall HEAD, or use fasta format.
from treetime.
Alright, thank you.
from treetime.
thanks, my bad! very useful to get these reports.
from treetime.
Thanks for helping out too. Will try using a fasta format
from treetime.
Related Issues (20)
- More than one record found in handle HOT 4
- how to convert the annotated nexus file (from treetime mugration) to JSON format? HOT 2
- New crash when running without alignment HOT 1
- Joint ancestral sequence reconstruction fails when input sequences are identical and GTR is inferred
- Not generating confidence intervals of divergence times, rate or root date HOT 1
- skyline: TypeError: can't multiply sequence by non-int of type 'float'
- ENH: Better error message when input alignment has sequences of unequal length HOT 1
- Newick formatting error fasttree HOT 3
- IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed HOT 2
- [read_vcf] Convert ALT '*' to "N"
- [write_vcf] CHROM is "MTB_anc"
- ERROR: Cannot read metadata: need at least one column that contains the taxon labels. HOT 7
- Different output trees HOT 2
- How to resolve Polytomies in the tree HOT 2
- BUG: clock_filter_method='residuals' should be 'residual' HOT 1
- about the mugration HOT 2
- incorrectly mutation-annotated branch on phylogeny HOT 1
- TreeTimeUnknownError: Error: Unexpected behavior detected in multiply function when determining peak of function with y-values '[]'. HOT 6
- Question about branch length in mugration
- 'branch_mutations.txt' output always empty (v 0.11.3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from treetime.