Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added gfatools * Fixed docs * Update bio/gfatools/environment.yaml Co-authored-by: Johannes Köster <johannes.koester@uni-due.de>
- Loading branch information
1 parent
1415748
commit 2c6b897
Showing
6 changed files
with
3,842 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
- nodefaults | ||
dependencies: | ||
- gfatools =0.5 |
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,12 @@ | ||
name: gfatools | ||
description: | | ||
Tools for manipulating sequence graphs in the GFA and rGFA formats | ||
url: https://github.com/lh3/gfatools | ||
authors: | ||
- Filipe G. Vieira | ||
input: | ||
- GFA file | ||
output: | ||
- GFA/stats/FAS/BED/ASM/SQL/TXT (depends on command) | ||
notes: | | ||
* The `command` param allows to specify how to do with the GFA: `view` [default], `stat`, `gfa2fa`, `gfa2bed`, `blacklist`, `bubble`, `asm`, `sql`, or `version`. |
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,92 @@ | ||
rule gfatools_stat: | ||
input: | ||
"{sample}.gfa", | ||
output: | ||
"{sample}.stat", | ||
log: | ||
"logs/{sample}.stat.log", | ||
params: | ||
command="stat", | ||
wrapper: | ||
"master/bio/gfatools" | ||
|
||
|
||
rule gfatools_gfa2fa: | ||
input: | ||
"{sample}.gfa", | ||
output: | ||
"{sample}.fas", | ||
log: | ||
"logs/{sample}.gfa2fa.log", | ||
params: | ||
command="gfa2fa", | ||
extra="-l 90", | ||
wrapper: | ||
"master/bio/gfatools" | ||
|
||
|
||
rule gfatools_gfa2bed: | ||
input: | ||
"{sample}.gfa", | ||
output: | ||
"{sample}.bed", | ||
log: | ||
"logs/{sample}.gfa2bed.log", | ||
params: | ||
command="gfa2bed", | ||
wrapper: | ||
"master/bio/gfatools" | ||
|
||
|
||
rule gfatools_blacklist: | ||
input: | ||
"{sample}.gfa", | ||
output: | ||
"{sample}.blacklist", | ||
log: | ||
"logs/{sample}.blacklist.log", | ||
params: | ||
command="blacklist", | ||
extra="-l 100", | ||
wrapper: | ||
"master/bio/gfatools" | ||
|
||
|
||
rule gfatools_bubble: | ||
input: | ||
"{sample}.gfa", | ||
output: | ||
"{sample}.bubble", | ||
log: | ||
"logs/{sample}.bubble.log", | ||
params: | ||
command="bubble", | ||
wrapper: | ||
"master/bio/gfatools" | ||
|
||
|
||
rule gfatools_asm: | ||
input: | ||
"{sample}.gfa", | ||
output: | ||
"{sample}.asm", | ||
log: | ||
"logs/{sample}.asm.log", | ||
params: | ||
command="asm", | ||
extra="-u", | ||
wrapper: | ||
"master/bio/gfatools" | ||
|
||
|
||
rule gfatools_sql: | ||
input: | ||
"{sample}.gfa", | ||
output: | ||
"{sample}.sql", | ||
log: | ||
"logs/{sample}.sql.log", | ||
params: | ||
command="sql", | ||
wrapper: | ||
"master/bio/gfatools" |
Oops, something went wrong.