Skip to content

Commit

Permalink
add script and config to list busco datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
dorien-er committed Feb 6, 2024
1 parent ae1956b commit 7707cfb
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
36 changes: 36 additions & 0 deletions src/busco/busco_list_datasets/config.vsh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
functionality:
name: busco
description: Lists the available busco datasets
info:
keywords: [lineage datasets]
homepage: https://busco.ezlab.org/
documentation: https://busco.ezlab.org/busco_userguide.html
repository: https://gitlab.com/ezlab/busco
reference: "10.1007/978-1-4939-9173-0_14"
licence: MIT
argument_groups:
- name: Outputs
arguments:
- name: --output
alternatives: ["-o"]
direction: output
type: file
description: |
Output file of the available busco datasets
required: false
default: busco_dataset_list.txt
example: file.txt
resources:
- type: bash_script
path: script.sh
test_resources:
- type: bash_script
path: test.sh
platforms:
- type: docker
image: quay.io/biocontainers/busco:5.6.1--pyhdfd78af_0
setup:
- type: docker
run: |
busco --version | sed 's/BUSCO\s\(.*\)/busco: "\1"/' > /var/software_versions.txt
- type: nextflow
6 changes: 6 additions & 0 deletions src/busco/busco_list_datasets/script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

## VIASH START
## VIASH END

busco --list-datasets | awk '/^#{40}/{flag=1; next} flag{print}' > $par_output
6 changes: 6 additions & 0 deletions src/busco/busco_list_datasets/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

## VIASH START
## VIASH END

busco --list-datasets > $par_output

0 comments on commit 7707cfb

Please sign in to comment.