view blast_to_scaffold.xml @ 0:7d96b28eec49 draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/blast_to_scaffold commit 48a4098045106f363e92357949b32617a2e868c1
author artbio
date Sun, 15 Oct 2017 12:52:40 -0400
parents
children be61d0d0d622
line wrap: on
line source

<tool id="blast2scaffold" name="blast_to_scaffold" version="1.0.0">
<description>Generate DNA scaffold from blastn or tblastx alignment of Contigs</description>
<requirements>
</requirements>
<command interpreter="python">
        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>

</tool>