Wie kann man ein Rost -Git -Repo als Abhängigkeit für eine Snakemake -Regel einbeziehen?Python

Python-Programme
Anonymous
 Wie kann man ein Rost -Git -Repo als Abhängigkeit für eine Snakemake -Regel einbeziehen?

Post by Anonymous »

Sagen wir einfach das Snakemake-Projekt sehen jetzt so aus: < /li>
< /ol>

Code: Select all

smk_project
├── config
├── Snakefile
├── input
├── resources
│     └── tool_foo
│             ├── Cargo.lock
│             ├── Cargo.toml
│             ├── scripts
│             └── src
├── result
├── rules
│     └── rules_a_set.smk
└── utils
< /code>

 Die Rules_a_set.smk: < /li>
< /ol>
rule a:
input:
a.txt
output:
b.txt
something_I_need_help_here:
?
threads: 4
shell:
"tool_foo {input} {output}"
< /code>

cargo install --git resources/tool_foo
ist der Befehl zur Installation von Tool_foo. Ich habe die Snakemake -Dokumentation gelesen und es gibt keine Option, um eine Fracht -Toml -Datei aufzunehmen. Ist das Berühren einer Dockerfile in Ressourcen/Tool_foo der einzige Weg?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post