Mercurial > repos > dfornika > cgview
diff reformat_blastn_output.xml @ 4:5542de6121ac draft
planemo upload for repository https://github.com/dfornika/galaxy/tree/master/tools/cgview commit 423cf96266f6ac433052ff72edb1397502313010-dirty
| author | dfornika |
|---|---|
| date | Mon, 08 Jul 2019 23:10:28 -0400 |
| parents | |
| children | 1ede45efb8eb |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/reformat_blastn_output.xml Mon Jul 08 23:10:28 2019 -0400 @@ -0,0 +1,37 @@ +<tool id="reformat_blastn_output" name="reformat blastn output" version="1.0+galaxy0"> + <description>Reformat blastn output for cgview_xml_builder</description> + <requirements> + </requirements> + <command detect_errors="exit_code"> + <![CDATA[ + awk -F'\t' 'BEGIN {OFS = FS} $2 = $2 FS "match"' '${input}' | + sed '1iquery_id\tmatch_id\tmatch_description\t%_identity\talignment_length\tmismatches\tgap_openings\tq_start\tq_end\ts_start\ts_end\tevalue\tbit_score' '${input}' + > '${output}' + ]]> + </command> + <inputs> + <param name="input" type="data" format="tabular" label="Input" help=""/> + </inputs> + <outputs> + <data name="output" format="tabular"/> + </outputs> + <tests> + </tests> + <help> + </help> + <citations> + <citation type="bibtex"> + @article{ + stothard2004circular, + title={Circular genome visualization and exploration using CGView}, + author={Stothard, Paul and Wishart, David S}, + journal={Bioinformatics}, + volume={21}, + number={4}, + pages={537--539}, + year={2004}, + publisher={Oxford University Press} + } + </citation> + </citations> +</tool>
