Comments (5)
Hi @bowmanjeffs,
thanks for reporting this!
The --allow-file-overwriting
is recognized correctly (at least, it's not the problem here). The problem is in one of the functions for producing the output of the EDPL command. That's why it is working with the examine assign
command, but not with the examine edpl
command.
Can you please share your test.jplace
file with me, so that I can investigate where the error is happening exactly? I'm fairly certain that it is happening because some part of the EDPL computation is producing an empty result, and there is a bug in the code when trying to print the output for an empty input... but I need to check which part exactly is causing that.
Cheers and so long
Lucas
from gappa.
Lucas, here you go! Thanks for taking a look.
2111SR_20211107_40_16_40m_900mL_S8_L001.12SV5.exp.Bacillariophyta_2836.jplace.zip
from gappa.
thank you for sharing the file! I see: your placement file only has a single pquery, with a single placement location, that is, a single branch that it has been placed on. Hence, a measure such as the EDPL, which measures the expected distance between the different placement locations of a pquery, will just output nothing, as there is only a single location, so nothing to compute a distance between.
Hence, for that particular test file, the output is expected to be N/A. Still, that bug should not occur, and instead a proper warning or N/A as output should be produced. I'll fix that soonβ’ - but in the meantime, I thought it might be useful for you to know that this file does not have a meaningful EDPL :-)
Cheers and so long
Lucas
from gappa.
Thanks Lucas! This runs in a loop with many library subsets placing to many trees, so that's expected for some of them. I should have anticipated that :). That particular result is captured as NaN by default.
Best,
Jeff
from gappa.
Okay, fixed in the latest commit. Instead of the program throwing an exception, it now issues a warning about the situation, but still produces a valid (yet mostly empty) histogram.
Closing the issue for now - feel free to re-open should you have any further trouble with this!
from gappa.
Related Issues (20)
- remove taxon names from branch tips HOT 4
- Gappa graft ties HOT 3
- Can gappa be used on metadata containing phylogenetic information of the host? HOT 5
- Comprehending LCA choice (gappa edit accumualte) HOT 5
- Compiling with OpenMP (omp.h) on Mac OS X HOT 3
- Unexpected end of input file Error for "gappa examine assign" HOT 1
- local build directory hard coded into binary? HOT 2
- Some light on gappa examine assign error HOT 6
- Spaces in sequence names leads to corrupt trees from gappa examine graft HOT 7
- Error handling EPA-NG jplace output file HOT 3
- gappa/0.8.3 :: core dump HOT 10
- Best way to obtain tip label in edgePCA HOT 10
- gappa Command error ? HOT 4
- Query sequences missing in the per_query.tsv file HOT 3
- No convergence in tridiagonal_ql_algorithm() HOT 4
- How to start with gappa HOT 2
- Interpreting examine assign HOT 4
- Subcommand: graft vs. guppy tog HOT 4
- Any chance to make a QIIME2 plugin for gappa? 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 gappa.