diff GetHaplotypesFromPhasedVCF/getHaplotypesFromPhasedVCF.xml @ 12:88748d846a20 draft

planemo upload commit 11382afe87364aaafb19973470d5066229a6e34f
author dereeper
date Tue, 14 Aug 2018 08:21:55 -0400
parents c6640c49fd01
children
line wrap: on
line diff
--- a/GetHaplotypesFromPhasedVCF/getHaplotypesFromPhasedVCF.xml	Fri Apr 20 09:04:25 2018 -0400
+++ b/GetHaplotypesFromPhasedVCF/getHaplotypesFromPhasedVCF.xml	Tue Aug 14 08:21:55 2018 -0400
@@ -8,7 +8,7 @@
         <exit_code range="1:" />
     </stdio>
     <command interpreter="perl">
-        GetHaplotypesFromPhasedVCF.pl $input $output_label &amp;&amp; mv ${output_label}.distinct_haplotypes.txt $output_distinct &amp;&amp; mv ${output_label}.haplo.fas $output_haplo
+        GetHaplotypesFromPhasedVCF.pl $input $output_label &amp;&amp; mv ${output_label}.distinct_haplotypes.txt $output_distinct &amp;&amp; mv ${output_label}.haplo.fas $output_haplo &amp;&amp; mv ${output_label}.distinct_haplotypes.fa $output_distinct_fasta
     </command>
     <inputs>
         <param type="data" name="input" format="vcf" label="Phased VCF" />
@@ -17,12 +17,14 @@
     <outputs>
         <data name="output_distinct" format="txt" label="${output_label}.distinct_haplotypes.txt"/>
         <data name="output_haplo" format="fasta" label="${output_label}.haplo.fas"/>
+        <data name="output_distinct_fasta" format="fasta" label="${output_label}.distinct_haplotypes.fa"/>
     </outputs>
     <tests>
         <test>
             <param name="input" value="getHaplotypesFromPhasedVCF-input.vcf"/>
             <output name="output_distinct" file="getHaplotypesFromPhasedVCF-result.distinct_haplotypes.txt" compare="sim_size" delta="0"/>
             <output name="output_haplo" file="getHaplotypesFromPhasedVCF-result.haplo.fas" compare="sim_size" delta="0"/>
+            <output name="output_distinct_fasta" file="getHaplotypesFromPhasedVCF-result.distinct_haplotypes.fas" compare="sim_size" delta="0"/>
         </test>
     </tests>
     <help><![CDATA[
@@ -72,12 +74,16 @@
 ------------
 
 
-Text file
-        File describing haplotypes
+Distinct Haplotypes text file
+        File describing distincts haplotypes
 
 Fasta file
         Fasta file with haplotypes
 
+Distinct Haplotypes fasta file
+        Fasta file with distincts haplotypes
+
+
 ---------------------------------------------------
 
 ---------------
@@ -131,6 +137,23 @@
 	>Chr10_AZUCENA_2
 	TAAATCTTGGTGCTGATCTGATATTTAATGCGT
 
+haplotypes.distinct_haplotypes.fas
+----------------------------------
+
+::
+
+	>haplo1|2
+	CAATTTATATATACTTGTATATAACCACAACGAGAGAGTTTTACCT
+	TTTATAAAAAATAAATAATGTATTACGGCTAATATAGCAATCTTTT
+	AAAATAAATCTATATTTAAATGACTATGGAATTACTAATCACAATA
+	ACAGGATCTTGTTATTTTTAGCTTGTGTACTTATAATGATCCGATG
+	>haplo2|2
+	GCTACTTAAATATCTAGCATTAATCCACAACGAGAGGCTCTTACCT
+	TTAAAAAAGGGTCATCGCCTATAGGTTAGATAATCGACACATATAA
+	TTATAAGAAATTATATATAATTTTTAATCTAGTTCATTCTTGTGCA
+	TCATTATGTTATATAATAATAAACGTAACAAATATTGATACTACTC
+
+
     ]]></help>
     <citations>
                 <!-- [HELP] As DOI or BibTex entry -->