Skip to content

Commit 1d8b9e5

Browse files
committed
Latest funannotate biocontainer
Try to create Augustus tmp dir (possible workaround for nextgenusfs/funannotate#1149)
1 parent 3d56e37 commit 1d8b9e5

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

config/tools.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ tools:
2727
no_softmasking:
2828
- Vertebrates
2929
funannotate:
30-
container: "docker://ghcr.io/tomharrop/container-funannotate:1.8.17_cv5"
30+
container: "docker://ghcr.io/tomharrop/container-funannotate:1.8.17_cv6"
3131
result_files:
3232
- "funannotate.gff3"
3333
dbs:

extras/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ test:
33
snakemake \
44
--configfile config/test.yaml \
55
--profile profiles/local \
6-
--keep-going -n \
7-
tiberius_target
6+
--keep-going \
7+
funannotate_target

workflow/rules/05_smk_hack.smk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ logger.error("""
66
*******************************
77
""")
88

9+
10+
# see https://github.com/snakemake/snakemake/issues/3916
911
import json as _json
1012
_orig_dumps = _json.dumps
1113
def _dumps(obj, *args, **kwargs):

workflow/rules/31_funannotate.smk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ rule funannotate_predict:
5555
Path("results", "run", "{genome}", "funannotate", "predict_results", x)
5656
for x in predict_result_files
5757
),
58-
directory(Path("results", "run", "{genome}", "funannotate", "predict_misc")),
58+
predict_misc=directory(Path("results", "run", "{genome}", "funannotate", "predict_misc")),
5959
params:
6060
busco_lineage_name=subpath(input.busco_lineage, basename=True),
6161
busco_seed_species=lambda wildcards: genomes_dict[wildcards.genome][
@@ -81,6 +81,7 @@ rule funannotate_predict:
8181
tools_dict["funannotate"]["container"]
8282
shell:
8383
"env &> {log.env} && "
84+
"mkdir -p {output.predict_misc}/tmp_opt_{wildcards.genome} && " # see https://github.com/nextgenusfs/funannotate/pull/1149
8485
'header_length=$( grep "^>" {input.fasta} | wc -L ) ; '
8586
"cp {input.gm_key} ${{HOME}}/.gm_key ; "
8687
"funannotate predict "

0 commit comments

Comments
 (0)