forked from blobtoolkit/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
busco.smk
46 lines (34 loc) · 1004 Bytes
/
busco.smk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import os
"""
https://github.com/blobtoolkit/insdc-pipeline
https://blobtoolkit.genomehubs.org/pipeline/
Pipeline to run BUSCO
--------------------------------------------------
Requirements:
- Conda (https://conda.io/docs/commands/conda-install.html)
- SnakeMake (http://snakemake.readthedocs.io/en/stable/)
Basic usage:
snakemake -p \
--directory ~/workdir \
--configfile example.yaml \
-s busco.smk
-j 8
Author:
Richard Challis
Contact:
License:
© 2021 Genome Research Limited, MIT License
"""
include: "scripts/functions.py"
chunk_stats_path = "../chunk_stats"
rule all:
"""
Dummy rule to define all outputs
"""
input:
expand("%s.busco.{lineage}/full_table.tsv.gz" % config["assembly"]["prefix"], lineage=config["busco"]["lineages"]),
"%s.chunk_stats.tsv" % config["assembly"]["prefix"],
include: "rules/run_busco5.smk"
include: "rules/count_busco_genes.smk"
include: "rules/unzip_assembly_fasta.smk"