Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: autobump bio/kallisto/index #1708

Merged
merged 4 commits into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bio/kallisto/index/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ channels:
- bioconda
- nodefaults
dependencies:
- kallisto =0.48.0
- kallisto =0.50.0
7 changes: 7 additions & 0 deletions bio/kallisto/index/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
name: "kallisto index"
description: Index a transcriptome using kallisto.
url: https://github.com/pachterlab/kallisto
authors:
- Joël Simoneau
input:
- fasta: FASTA file to index
output:
- index: indexed file
params:
- extra: Additional parameters
2 changes: 1 addition & 1 deletion bio/kallisto/index/test/transcriptome.fasta
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
>Sheila
GCTAGCTCAGAAAAAAAAAA
GCTAGCTCAGAAAAAAAAAATCGTCGCGTGCGCGT
11 changes: 6 additions & 5 deletions bio/kallisto/index/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
fasta = " ".join(fasta) if isinstance(fasta, list) else fasta

shell(
"kallisto index " # Tool
"{extra} " # Optional parameters
"--index={snakemake.output.index} " # Output file
"{fasta} " # Input FASTA files
"{log}" # Logging
"kallisto index" # Tool
" --threads {snakemake.threads}"
" {extra}" # Optional parameters
" --index {snakemake.output.index}" # Output file
" {fasta}" # Input FASTA files
" {log}" # Logging
)
Loading