-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update doc with change in info and metrics command
- Loading branch information
1 parent
aa5cfcc
commit 2de0f03
Showing
4 changed files
with
44 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,37 @@ | ||
### Pangenome metrics | ||
<!-- # Metrics --> | ||
|
||
After computing a pangenome, it's interesting to get some metrics about it. | ||
The aim of the `metrics` subcommand is to compute comprehensive metrics describing the pangenome. | ||
|
||
#### Genomic fluidity | ||
All the metrics computed are saved in the pangenome file and | ||
are displayed by the `info` subcommand with the flag `--content`. | ||
|
||
|
||
### Genomic fluidity | ||
|
||
The genomic fluidity is described as *a robust metric to categorize the | ||
gene-level similarity among groups of sequenced isolates.* | ||
[more information here](https://bmcgenomics.biomedcentral.com/articles/10.1186/1471-2164-12-32) | ||
|
||
We add the possibility to get genomic fluidity for all the pangenome or | ||
for specific partition. The genomic fluidity is computable like that (with below an example result): | ||
for specific partition. The genomic fluidity is computable like that : | ||
|
||
```bash | ||
ppanggolin metrics -p pangenome --genome_fluidity | ||
... | ||
Genomes fluidity: all=0.026, shell=0.477, cloud=0.045, accessory=0.554 | ||
|
||
``` | ||
|
||
```yaml | ||
Genomes_fluidity: | ||
all: 0.139 | ||
shell: 0.527 | ||
cloud: 0.385 | ||
accessory: 0.62 | ||
``` | ||
*all* correspond to all the family in the pangenome (core and accessory) | ||
*all* correspond to all the family in the pangenome (core and accessory) | ||
```{note} | ||
At the moment, only the fluidity is computed by the `metrics` command. But we migth add other metrics in the future. If you have some idea of metric describing the pangenome, please open an issue ! | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters