view blast_to_scaffold.xml @ 2:3041f611636f draft default tip

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/blast_to_scaffold commit 22c413141878d86ec10e80ef43ba0da792232cb0
author artbio
date Wed, 11 Oct 2023 10:34:08 +0000
parents be61d0d0d622
children
line wrap: on
line source

<tool id="blast2scaffold" name="blast_to_scaffold" version="1.1.0">
<description>Generate DNA scaffold from blastn or tblastx alignment of Contigs</description>
<requirements>
    <requirement type="package" version="3.7.6">python</requirement>
</requirements>
<command detect_errors="exit_code"><![CDATA[
        python $__tool_directory__/blast_to_scaffold.py
                                      --sequences "$sequences"
                                      --guideSequence "$guideSequence"
                                      --blast-tab "$blast_tab"
                                      --output "$output"
                                      --scaffold_prefix "$sequences.element_identifier"
                                      --scaffold_suffix "$guideSequence.element_identifier"
]]></command>
<inputs>
<param name="sequences" type="data" format="fasta" label="Select a fasta contigs file"/> 
<param name="guideSequence" type="data" format="fasta" label="Select the fasta guide sequence for scaffolding"/> 
<param name="blast_tab"  type="data" format="tabular" label="Select a blastn or tblastx output from your history" help="must have 13 columns with column 13 containing the subject lenght, other columns are standard"/> 

</inputs>
<outputs>
 <data format="fasta" name="output"/>
</outputs>


<tests>
  <test>
    <param name="sequences" value="contigs.fa" ftype="fasta"/>
    <param name="blast_tab" value="blast.tab" ftype="tabular"/>
    <param name="guideSequence" value="guideSequence.fa" ftype="tabular"/>
    <output name="output" file="assembly.fa" ftype="fasta"/>
  </test>
</tests>
        

<help>


**What it Does**
This tool starts from DNA contigs that aligned to a subject DNA sequence through blastn or tblastx.
The contigs must be provided in fasta format. The blastn or tblastx output must be tabular, the 12 standard column plus column 13 with the length of the blastn or tblastx subject.
The sequence used to BLAST (blastn or tblastx) the contigs must be provided to serve as a guide to the final assembly
The final assembly is a DNA sequence.
Nucleotides of the guide sequence which were not covered by contigs are in small letters in the output assembly.


**Attribution**
This Galaxy tool was created by drosofff@gmail.com on 5/01/2016
</help>

<citations>
    <citation type="doi">10.1186/s13742-015-0080-7</citation>
</citations>

</tool>