Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
snakemake
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Metagenomics
snakemake
Commits
8c192e82
Commit
8c192e82
authored
6 years ago
by
Kenzo-Hugo Hillion
Browse files
Options
Downloads
Patches
Plain Diff
add subworkflow part and subworkflow metaphlan to graphlan
parent
2462bf79
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
workflows/subworfklows/README.md
+4
-0
4 additions, 0 deletions
workflows/subworfklows/README.md
workflows/subworfklows/graphlan_from_metaphlan2/SnakeFile
+30
-0
30 additions, 0 deletions
workflows/subworfklows/graphlan_from_metaphlan2/SnakeFile
with
34 additions
and
0 deletions
workflows/subworfklows/README.md
0 → 100644
+
4
−
0
View file @
8c192e82
# Snakemake subworkflows
Similar to tools, subworkflows cannot be used directly but need to be called in a higher Snakefile
by setting up the required variables.
This diff is collapsed.
Click to expand it.
workflows/subworfklows/graphlan_from_metaphlan2/SnakeFile
0 → 100644
+
30
−
0
View file @
8c192e82
configfile: "config.yaml"
"""
This subworkflow need to be called to be used by specifying:
- __graphlan_from_metaphlan2_input
- __graphlan_from_metaphlan2_output
- __graphlan_from_metaphlan2_output_dir
"""
# ==== Rule paths ====
__export2graphlan_rules = "../../tools/metaphlan2/metaphlan2/metaphlan2.rules"
__graphlan_annotate_rules = "../../tools/metaphlan2/metaphlan2_merge/metaphlan2_merge.rules"
__graphlan_rules = "../../tools/metaphlan2/metaphlan2_heatmap/metaphlan2_heatmap.rules"
# ---- export2graphlan
__export2graphlan_input = __graphlan_from_metaphlan2_input
__export2graphlan_output_tree = __graphlan_from_metaphlan2_output + ".tree.txt"
__export2graphlan_output_annotation = __graphlan_from_metaphlan2_output + ".annot.txt"
include: __export2graphlan_rules
# ---- graphlan_annotate
__graphlan_annotate_input_tree = __export2graphlan_output_tree
__graphlan_annotate_input_annotation = __export2graphlan_output_annotation
__graphlan_annotate_output = __graphlan_from_metaphlan2_output + ".annot.xml"
include: __graphlan_annotate_rules
# ---- graphlan
__graphlan_input = __graphlan_annotate_output
__graphlan_output = __graphlan_from_metaphlan2_output
include: __graphlan_rules
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