-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reorganized seqtk namespace + added seqtk subseq config and script
- Loading branch information
1 parent
796c3bc
commit 51c69e9
Showing
12 changed files
with
83 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: seqtk_subseq | ||
namespace: seqtk | ||
description: | ||
keywords: [tag1, tag2] | ||
links: | ||
repository: https://github.com/lh3/seqtk/tree/v1.4 | ||
license: MIT | ||
|
||
argument_groups: | ||
- name: Inputs | ||
arguments: | ||
- name: --input | ||
type: file | ||
description: The input FASTA/Q file. | ||
required: true | ||
- name: "--regions_file" | ||
type: file | ||
description: | | ||
File with regions to extract. Can be either a list file | ||
with one sequence name per line or a bed file. | ||
required: true | ||
|
||
- name: Outputs | ||
arguments: | ||
- name: --output | ||
type: file | ||
description: The output FASTA/Q file. | ||
required: true | ||
direction: output | ||
|
||
- name: Options | ||
arguments: | ||
- name: "--tab" | ||
type: boolean | ||
description: Output in tab-delimited format. | ||
default: false | ||
- name: "--strand_aware" | ||
type: boolean | ||
description: Strand-aware mode. | ||
default: false | ||
- name: "--line_length" | ||
type: integer | ||
description: Number of bases per line. | ||
default: 60 | ||
|
||
resources: | ||
- type: bash_script | ||
path: script.sh | ||
test_resources: | ||
- type: bash_script | ||
path: test.sh | ||
- type: file | ||
path: ../test_data | ||
|
||
engines: | ||
- type: docker | ||
image: quay.io/biocontainers/seqtk:1.4--he4a0461_2 | ||
runners: | ||
- type: executable | ||
- type: nextflow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
``` | ||
seqtk_sample | ||
``` | ||
Usage: seqtk sample [-2] [-s seed=11] <in.fa> <frac>|<number> > <out.fa> | ||
|
||
Options: -s INT RNG seed [11] | ||
-2 2-pass mode: twice as slow but with much reduced memory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
## VIASH START | ||
## VIASH END | ||
|
||
seqtk sample \ | ||
${par_tab:+-t} \ | ||
${par_strand_aware:+-s} \ | ||
${par_line_length:+-l "$par_line_length"} \ | ||
"$par_input" \ | ||
> "$par_output" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters