Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PanTools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioinformatics
PanTools
Commits
82b237cd
Commit
82b237cd
authored
2 years ago
by
Workum, Dirk-Jan van
Browse files
Options
Downloads
Patches
Plain Diff
Add PanTools workflows to read the docs
parent
b12fc63b
No related branches found
No related tags found
2 merge requests
!126
Release PanTools v4.1.1
,
!120
Add PanTools workflows to read the docs
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/source/conf.py
+4
-3
4 additions, 3 deletions
docs/source/conf.py
docs/source/index.rst
+1
-0
1 addition, 0 deletions
docs/source/index.rst
docs/source/user_guide/workflows.rst
+121
-0
121 additions, 0 deletions
docs/source/user_guide/workflows.rst
with
126 additions
and
3 deletions
docs/source/conf.py
+
4
−
3
View file @
82b237cd
...
...
@@ -16,12 +16,13 @@ version = '4.1.0'
# -- General configuration
extensions
=
[
'
sphinx.ext.duration
'
,
'
sphinx.ext.doctest
'
,
'
sphinx.ext.autodoc
'
,
'
sphinx.ext.autosectionlabel
'
,
'
sphinx.ext.autosummary
'
,
'
sphinx.ext.duration
'
,
'
sphinx.ext.doctest
'
,
'
sphinx.ext.graphviz
'
,
'
sphinx.ext.intersphinx
'
,
'
sphinx.ext.autosectionlabel
'
,
'
sphinx.ext.mathjax
'
,
'
substitutioncodeblock
'
,
]
...
...
This diff is collapsed.
Click to expand it.
docs/source/index.rst
+
1
−
0
View file @
82b237cd
...
...
@@ -116,6 +116,7 @@ Contents
user_guide/mapping
user_guide/query
user_guide/differences
user_guide/workflows
.. toctree::
:caption: Tutorial
...
...
This diff is collapsed.
Click to expand it.
docs/source/user_guide/workflows.rst
0 → 100644
+
121
−
0
View file @
82b237cd
Workflows for pangenomics
=================================
Since PanTools has many subcommands, we have created a number of workflows
to help you get started.
Finding core, accessory and unique genes
----------------------------------------
One of the most common tasks for a pangenome analysis is to find the core,
accessory and unique genes in a set of genomes. For this, one needs to
calculate homology groups and then find the core, accessory and unique genes.
Homology grouping can be done using the ``group`` command if one already has
a set of parameters for the homology search. If not, the ``optimal_grouping``
command can be used to find the optimal parameters for a given set of
proteins. This core, accessory and unique analysis can be performed for both
pangenomes and panproteomes.
Pangenome analysis
^^^^^^^^^^^^^^^^^^
.. graphviz::
digraph G {
"build_pangenome" -> "add_annotations";
"add_annotations" -> "group";
"add_annotations" -> "busco_protein";
"busco_protein" -> "optimal_grouping";
"optimal_grouping" -> "change_grouping";
"group" -> "gene_classification";
"change_grouping" -> "gene_classification";
}
Panproteome analysis
^^^^^^^^^^^^^^^^^^^^
.. graphviz::
digraph P {
"build_panproteome" -> "group";
"build_panproteome" -> "busco_protein";
"busco_protein" -> "optimal_grouping";
"optimal_grouping" -> "change_grouping";
"group" -> "gene_classification";
"change_grouping" -> "gene_classification";
}
Creating phylogenetic trees
---------------------------
PanTools has six different commands for creating phylogenetic trees. However,
some methods are specific to a pangenome since they work on nucleotide
sequences. Optionally, one can also add phenotype information to the PanTools
database and use this information to color the tree.
Pangenome analysis
^^^^^^^^^^^^^^^^^^
.. graphviz::
digraph G {
"build_pangenome" -> "add_annotations";
"build_pangenome" -> "add_phenotype" [style=dashed];
"add_annotations" -> "group";
"add_annotations" -> "busco_protein";
"busco_protein" -> "optimal_grouping";
"optimal_grouping" -> "change_grouping";
"group" -> "gene_classification";
"change_grouping" -> "gene_classification";
"add_phenotype" -> "gene_classification" [style=dashed];
"gene_classification" -> "gene_distance_tree.R";
"add_phenotype" -> "kmer_classification" [style=dashed];
"build_pangenome" -> "kmer_classification";
"add_phenotype" -> "ani" [style=dashed];
"build_pangenome" -> "ani";
"kmer_classification" -> "genome_kmer_distance_tree.R";
"gene_classification" -> "core_phylogeny";
"gene_classification" -> "mlsa_find_genes";
"mlsa_find_genes" -> "mlsa_concatenate";
"mlsa_concatenate" -> "mlsa";
"gene_classification" -> "consensus_tree";
}
Panproteome analysis
^^^^^^^^^^^^^^^^^^^^
.. graphviz::
digraph P {
"build_panproteome" -> "add_phenotype" [style=dashed];
"build_panproteome" -> "group";
"build_panproteome" -> "busco_protein";
"busco_protein" -> "optimal_grouping";
"optimal_grouping" -> "change_grouping";
"group" -> "gene_classification";
"change_grouping" -> "gene_classification";
"add_phenotype" -> "gene_classification" [style=dashed];
"gene_classification" -> "gene_distance_tree.R";
"add_phenotype" -> "kmer_classification" [style=dashed];
"build_panproteome" -> "kmer_classification";
"add_phenotype" -> "ani" [style=dashed];
"build_panproteome" -> "ani";
"kmer_classification" -> "genome_kmer_distance_tree.R";
"gene_classification" -> "core_phylogeny";
"gene_classification" -> "mlsa_find_genes";
"mlsa_find_genes" -> "mlsa_concatenate";
"mlsa_concatenate" -> "mlsa";
"gene_classification" -> "consensus_tree";
}
Mapping reads
----------------------------
PanTools has a ``map`` subcommand for mapping WGS reads to a pangenome. This
subcommand can be used to map reads to a pangenome only.
.. graphviz::
digraph G {
"build_pangenome" -> "map";
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment