-
Notifications
You must be signed in to change notification settings - Fork 441
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
Add tsebra #5483
Merged
Merged
Add tsebra #5483
Changes from 16 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
48f276c
Add tsebra
rlibouba 2e672bb
error typo
rlibouba be3df10
add .shed.yml
rlibouba 7c8ff88
Update .shed.yml
bgruening f74407a
add column names and number-test
bgruening da1dece
size test inputs + modify test section
rlibouba a9c207e
modify test 2
rlibouba 121a514
new output.gtf
rlibouba 1d8e442
test
rlibouba 9ad3735
Add tsebra
rlibouba 27e2827
modify test 2
rlibouba 12ffcbb
Modify test 2
rlibouba 64ccc60
test 2
rlibouba 8e74014
test 2
rlibouba 8584dd3
test 2
rlibouba 7635178
small changes
bgruening 8bb7318
modify tsebra.xml
rlibouba 886b0fe
change tsebra.xml
rlibouba 7b0e30d
News modifications
rlibouba File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,10 @@ | ||
categories: | ||
- Genome annotation | ||
description: This tool has been developed to combine BRAKER predictions. | ||
long_description: | | ||
TSEBRA is a combinatorial tool that selects transcripts from genetic predictions based on support by extrinsic evidence | ||
in the form of introns and start/stop codpns. | ||
homepage_url: https://github.com/Gaius-Augustus/TSEBRA | ||
owner: iuc | ||
remote_repository_url: https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsebra | ||
type: unrestricted |
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,8 @@ | ||
<macros> | ||
<token name="@TOOL_VERSION@">1.1.1</token> | ||
<xml name="citation"> | ||
<citations> | ||
<citation type="doi">/10.1186/s12859-021-04482-0</citation> | ||
</citations> | ||
</xml> | ||
</macros> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,82 @@ | ||
<?xml version="1.0"?> | ||
<tool id="tsebra" name="TSEBRA" version="@TOOL_VERSION@+galaxy0" profile="21.05"> | ||
<description>tanscript selector for BRAKER</description> | ||
<macros> | ||
<import>macros.xml</import> | ||
</macros> | ||
<requirements> | ||
<requirement type="package" version="@TOOL_VERSION@">tsebra</requirement> | ||
</requirements> | ||
<command detect_errors="exit_code"><![CDATA[ | ||
tsebra.py | ||
|
||
#if $gtf_file | ||
-g '$gtf_file' | ||
#end if | ||
#if $keep_gtf | ||
-k '$keep_gtf' | ||
#end if | ||
#if $hint_file | ||
-e '$hint_file' | ||
#end if | ||
#if $cfg_file | ||
-c '$cfg_file' | ||
#end if | ||
|
||
$ignore_tx_phase | ||
$filter_single_exon_genes | ||
#if $score_tab | ||
--score_tab '$output_tab' | ||
#end if | ||
|
||
-o '$output' | ||
|
||
]]></command> | ||
<inputs> | ||
<param name="gtf_file" argument="-g" type="data" format="gtf" optional="true" label="List of gene prediciton files"/> | ||
<param name="keep_gtf" argument="-k" type="data" format="gtf" optional="true" label="Gene prediction list" help="All transcripts from these gene sets will be included in the output"/> | ||
<param name="hint_file" argument="-e" type="data" format="gff" optional="true" label="List of files containing extrinsic evidence"/> | ||
<param name="cfg_file" argument="-c" type="data" format="txt" optional="true" label="Configuration file" help="Find the recommanded parameter at config/default.cfg"/> | ||
<param name="score_tab" argument="-s" type="boolean" checked="false" label="Print the transcript scores as a table to the specified file"/> | ||
<param argument="--ignore_tx_phase" type="boolean" truevalue="--ignore_tx_phase" falsevalue="" label="Ignore the phase transcripts while detecting clusters of overlapping transcripts"/> | ||
rlibouba marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<param argument="--filter_single_exon_genes" type="boolean" truevalue="--filter_single_exon_genes" falsevalue="" label="Filter out all single-exon genes"/> | ||
</inputs> | ||
|
||
<outputs> | ||
<data name="output" format="gtf" label="TSEBRA on ${on_string}"/> | ||
<data name="output_tab" format="txt" label="TSEBRA on ${on_string} : tab"> | ||
<actions> | ||
<action name="column_names" type="metadata" default="TX_ID,intron_support,stasto_support,s1,s2,s3,s4" /> | ||
</actions> | ||
<filter>score_tab</filter> | ||
</data> | ||
</outputs> | ||
<tests> | ||
<test expect_num_outputs="1"> | ||
<param name="gtf_file" value="braker.gtf" ftype="gtf"/> | ||
<param name="hint_file" value="hintsfile.gff" ftype="gff"/> | ||
<output name="output" ftype="gtf" file="output.gtf" lines_diff="2"/> | ||
</test> | ||
<test expect_num_outputs="2"> | ||
<param name="gtf_file" value="braker.gtf" ftype="gtf"/> | ||
<param name="hint_file" value="hintsfile.gff" ftype="gff"/> | ||
<param name="score_tab" value="true"/> | ||
<param name="ignore_transcrpts" value="false"/> | ||
<param name="filter_exon" value="false"/> | ||
<output name="output" ftype="gtf" file="output.gtf" lines_diff="2"/> | ||
<output name="output_tab" ftype="txt" file="output_tab.txt"> | ||
<assert_contents> | ||
<has_n_lines n="668"/> | ||
</assert_contents> | ||
</output> | ||
</test> | ||
</tests> | ||
<help><![CDATA[ | ||
tsebra_ TSEBRA is a combinatorial tool that selects transcripts from genetic predictions based on support by extrinsic evidence | ||
in the form of introns and start/stop codpns. This tool has been developed to combine BRAKER predictions. | ||
|
||
|
||
.. _tsebra: https://github.com/Gaius-Augustus/TSEBRA | ||
]]></help> | ||
<expand macro="citation"></expand> | ||
</tool> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All 4 inputs are optional, in theory a user can start this tool without inputs, I think this should not happen.
Do you have a smart idea here @rlibouba ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Björn, thank you for your return. I've suggested something for that. What do you think?