Comments (9)
Are you using cat
? The files are gzipped, so you need to use zcat
(or equivalently gunzip -c
if you're on Mac and don't have zcat
), not cat
from favites.
Never mind, I found the directory you're working in (FAVITES/output/set7/output_7_1
within your home folder), and I see that the files are already unzipped. I'll investigate
from favites.
from favites.
I was able to reproduce the error. It seems like an issue with merging the trees. I'll investigate and roll out an update to FAVITES when it's fixed
from favites.
Caught the issue: I forgot to update the merge function after gzipping the trees, so it was looking for files with extension .tre
instead of .tre.gz
. Fixing and will roll out in update later today
from favites.
Fixed in commit: 12283fb
Building updated Docker image
from favites.
from favites.
You can either switch to FAVITES version 1.1.3 (which now has the merging bug fixed), or you can use the method I described in my recent email to you to manually merge the trees. Switching versions will be easier, but it will take more compute time.
from favites.
Reproducing my "manually merge trees" solution here so I can close this ticket:
While I'm fixing the bug in merging trees, here's a way you can manually merge them instead of having to rerun. First, the relevant files:
- The seed tree can be found in
OUTPUT/seed_sequences/seed.txt
- For each leaf in the seed tree, the corresponding sequence can be found in
OUTPUT/seed_sequences/seqgen.out
- For each leaf sequence, the file
OUTPUT/seed_sequences/seed_sequences.tsv.gz
has the correspondingN#
root of the individual trees - The corresponding
N#
SeqGen files (which include the individual trees) can be found inOUTPUT/SeqGen_output
To do the merge, you should be able to do the following:
- Load the seed tree (
OUTPUT/seed_sequences/seed.txt
) - Map each leaf in the seed tree to an
N#
label (seed tree -> sequence fromOUTPUT/seed_sequences/seqgen.out
->N#
label fromOUTPUT/seed_sequences/seed_sequences.tsv.gz
) - For each
N#
label, load the corresponding tree (OUTPUT/SeqGen_output
) and set the corresponding leaf in the seed tree to the root of theN#
tree
from favites.
Related Issues (20)
- Singularity Compatible Version of Favites Issue HOT 3
- Allow some communities to have 0 seeds HOT 1
- Create helper script that labels internal nodes of output trees HOT 1
- float('inf') in CONFIG file doesn't work in run_favites_docker.py (and potentially Singularity) HOT 1
- Implement πBUSS as a SequenceEvolution module
- Breaks when using "-u" in command line and not specifying the version HOT 2
- "KeyError: 'None'", for my Transmission Network File HOT 2
- Running config_designer.py causes my computer account logging out HOT 3
- No such file or directory: 'ID_xxx_simple.nex' HOT 2
- Create transmission module implementations for EoN
- Does not properly identify seed nodes HOT 2
- Issue with label_internal_nodes helper script HOT 1
- Allow user to specify sample times in file HOT 1
- Add ReSeq
- Enquiry about backward-in-time models HOT 5
- Add SANTA-SIM
- run_favites_docker.py only works on Linux with sudo HOT 3
- Sampling times file not found HOT 3
- config_designer.py fails to write JSON HOT 2
- ERROR? HOT 2
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 favites.