-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* merge * add new output * seqtk 1.4 has a telomere finder. This adds it to the rest and bumps the version. passes lint but the CI lint seems to be failing... * better test data * single quote wrap parameters * passes lint after adding Bjoern's citation to macros * fix macro order * seqtk 1.4 has a telomere finder. This adds it to the rest and bumps the version. passes lint but the CI lint seems to be failing... * better test data * single quote wrap parameters * fix rst lint * fix help * fix redundant but beautiful code. Byebye. --------- Co-authored-by: Bjoern Gruening <[email protected]>
- Loading branch information
Showing
21 changed files
with
254 additions
and
45 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 |
---|---|---|
@@ -1,10 +1,9 @@ | ||
<?xml version="1.0"?> | ||
<tool id="seqtk_cutN" name="seqtk_cutN" version="@[email protected]"> | ||
<tool id="seqtk_cutN" name="seqtk_cutN" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05"> | ||
<description>cut sequence at long N</description> | ||
<expand macro="bio_tools"/> | ||
<macros> | ||
<import>macros.xml</import> | ||
</macros> | ||
<expand macro="bio_tools"/> | ||
<expand macro="requirements"/> | ||
<expand macro="stdio"/> | ||
<command><![CDATA[ | ||
|
@@ -22,7 +21,11 @@ $g | |
<param argument="-g" type="boolean" truevalue="-g" falsevalue="" checked="false" label="Print gaps only, no sequence" /> | ||
</inputs> | ||
<outputs> | ||
<data name="default" format_source="in_file" label="$in_file.name split on N runs longer than $n"/> | ||
<data name="default" format_source="in_file" label="${tool.name} on ${on_string}: split on N runs longer than $n"> | ||
<change_format> | ||
<when input="g" value="-g" format="bed" /> | ||
</change_format> | ||
</data> | ||
</outputs> | ||
<tests> | ||
<test> | ||
|
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
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
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,61 @@ | ||
<?xml version="1.0"?> | ||
<tool id="seqtk_telo" name="seqtk_telo" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05"> | ||
<description>find telomeres</description> | ||
<macros> | ||
<import>macros.xml</import> | ||
</macros> | ||
<expand macro="bio_tools"/> | ||
<expand macro="requirements"/> | ||
<expand macro="stdio"/> | ||
<command><![CDATA[ | ||
seqtk telo | ||
-m '$m' | ||
-p '$p' | ||
-d '$d' | ||
-s '$s' | ||
$P | ||
'$in_file' | ||
> '$default' | ||
]]></command> | ||
<inputs> | ||
<expand macro="in_faq"/> | ||
<param argument="-m" type="text" value="CCCTAA" label="Telomere repeat to search for. Default is vertebrate" /> | ||
<param argument="-p" type="integer" value="1" label="Penalty for a non-repeat" /> | ||
<param argument="-d" type="integer" value="2000" label="Maximum drop" /> | ||
<param argument="-s" type="integer" value="300" label="Minimum score" /> | ||
<param argument="-P" type="boolean" truevalue="-P" falsevalue="" checked="false" label="Print scoring" /> | ||
</inputs> | ||
<outputs> | ||
<data name="default" format="bed" label="${tool.name} on ${on_string}: telomers"/> | ||
</outputs> | ||
<tests> | ||
<test> | ||
<param name="in_file" value="seqtk_telo.fa"/> | ||
<output name="default" file="seqtk_telo.out" ftype="bed"/> | ||
</test> | ||
<test> | ||
<param name="in_file" value="seqtk_telo.fa.gz" ftype="fasta.gz"/> | ||
<output name="default" file="seqtk_telogz.out" ftype="bed"/> | ||
</test> | ||
</tests> | ||
<help><![CDATA[ | ||
**What it does** | ||
Identifies telomeres using a default vertebrate repeat sequence CCCTAA, or a user supplied one | ||
:: | ||
Usage: seqtk telo [options] <in.fq> | ||
Options: | ||
-m STR motif [CCCTAA] | ||
-p INT penalty [1] | ||
-d INT max drop [2000] | ||
-s INT min score [300] | ||
-P print scoring | ||
@ATTRIBUTION@ | ||
]]></help> | ||
<expand macro="citation" /> | ||
</tool> |
Oops, something went wrong.