comparison hisat2.xml @ 25:3fb01a8c902d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
author iuc
date Sat, 26 Jan 2019 04:45:24 -0500
parents 61ee47027bd3
children 0c16cad5e03b
comparison
equal deleted inserted replaced
24:61ee47027bd3 25:3fb01a8c902d
1 <tool id="hisat2" name="HISAT2" version="2.1.0+galaxy3" profile="17.01"> 1 <tool id="hisat2" name="HISAT2" version="2.1.0+galaxy4" profile="17.01">
2 <description>A fast and sensitive alignment program</description> 2 <description>A fast and sensitive alignment program</description>
3 <macros> 3 <macros>
4 <import>hisat2_macros.xml</import> 4 <import>hisat2_macros.xml</import>
5 </macros> 5 </macros>
6 <requirements> 6 <requirements>
278 -X ${adv.spliced_options.no_spliced_alignment_options.maxins} 278 -X ${adv.spliced_options.no_spliced_alignment_options.maxins}
279 #end if 279 #end if
280 --min-intronlen ${adv.spliced_options.min_intron} 280 --min-intronlen ${adv.spliced_options.min_intron}
281 --max-intronlen ${adv.spliced_options.max_intron} 281 --max-intronlen ${adv.spliced_options.max_intron}
282 ${adv.spliced_options.tma} 282 ${adv.spliced_options.tma}
283 283
284 #if str($adv.spliced_options.novel_splicesite_outfile) == "true":
285 --novel-splicesite-outfile '$novel_splicesite_output'
286 #end if
287
284 #if str($adv.spliced_options.notmplen): 288 #if str($adv.spliced_options.notmplen):
285 ${adv.spliced_options.notmplen} 289 ${adv.spliced_options.notmplen}
286 #end if 290 #end if
287 #end if 291 #end if
288 292
521 <option value="--tmo">Report only those alignments within known transcripts</option> 525 <option value="--tmo">Report only those alignments within known transcripts</option>
522 <option value="--dta">Report alignments tailored for transcript assemblers including StringTie</option> 526 <option value="--dta">Report alignments tailored for transcript assemblers including StringTie</option>
523 <option value="--dta-cufflinks">Report alignments tailored specifically for Cufflinks</option> 527 <option value="--dta-cufflinks">Report alignments tailored specifically for Cufflinks</option>
524 </param> 528 </param>
525 <param name="notmplen" argument="--no-templatelen-adjustment" type="boolean" truevalue="--no-templatelen-adjustment" falsevalue="" label="Disable automatic template length adjustment for RNA-seq reads" help="Default: false" /> 529 <param name="notmplen" argument="--no-templatelen-adjustment" type="boolean" truevalue="--no-templatelen-adjustment" falsevalue="" label="Disable automatic template length adjustment for RNA-seq reads" help="Default: false" />
530 <param name="novel_splicesite_outfile" type="boolean" checked="false" label="reports a list of novel splice sites" help="Default: false" />
526 </when> 531 </when>
527 </conditional> 532 </conditional>
528 533
529 <conditional name="reporting_options"> 534 <conditional name="reporting_options">
530 <param name="reporting_options_selector" type="select" label="Reporting options"> 535 <param name="reporting_options_selector" type="select" label="Reporting options">
601 <data name="summary_file" format="txt" from_work_dir="summary.txt" label="${tool.name} on ${on_string}: Mapping summary" > 606 <data name="summary_file" format="txt" from_work_dir="summary.txt" label="${tool.name} on ${on_string}: Mapping summary" >
602 <filter>sum['summary_file'] is True</filter> 607 <filter>sum['summary_file'] is True</filter>
603 <expand macro="dbKeyActions" /> 608 <expand macro="dbKeyActions" />
604 </data> 609 </data>
605 610
611 <!-- Novel Splice file -->
612 <data name="novel_splicesite_output" format="tabular" label="${tool.name} on ${on_string}: Novel Splice Sites" >
613 <filter>adv['spliced_options']['spliced_options_selector'] == 'advanced' and adv['spliced_options']['novel_splicesite_outfile'] is True</filter>
614 <expand macro="dbKeyActions" />
615 </data>
616
617
606 </outputs> 618 </outputs>
607 619
608 <!-- Define tests --> 620 <!-- Define tests -->
609 621
610 <tests> 622 <tests>
614 <param name="source" value="history" /> 626 <param name="source" value="history" />
615 <param name="history_item" ftype="fasta" value="phiX.fa" /> 627 <param name="history_item" ftype="fasta" value="phiX.fa" />
616 <param name="input_1" ftype="fastqsanger" value="hisat_input_1_forward.fastq" /> 628 <param name="input_1" ftype="fastqsanger" value="hisat_input_1_forward.fastq" />
617 <param name="input_2" ftype="fastqsanger" value="hisat_input_1_reverse.fastq" /> 629 <param name="input_2" ftype="fastqsanger" value="hisat_input_1_reverse.fastq" />
618 <param name="adv|reporting_options|reporting_options_selector" value="advanced"/> 630 <param name="adv|reporting_options|reporting_options_selector" value="advanced"/>
631 <param name="novel_splicesite_outfile" value="false" />
619 <output name="output_alignments" file="hisat_output_1.bam" ftype="bam" lines_diff="2" /> 632 <output name="output_alignments" file="hisat_output_1.bam" ftype="bam" lines_diff="2" />
620 </test> 633 </test>
621 <!-- Ensure advanced scoring options work --> 634 <!-- Ensure advanced scoring options work -->
622 <test expect_num_outputs="1" > 635 <test expect_num_outputs="1" >
623 <param name="type" value="paired" /> 636 <param name="type" value="paired" />
767 <param name="type" value="paired_interleaved" /> 780 <param name="type" value="paired_interleaved" />
768 <param name="source" value="history" /> 781 <param name="source" value="history" />
769 <param name="history_item" ftype="fasta" value="phiX.fa" /> 782 <param name="history_item" ftype="fasta" value="phiX.fa" />
770 <param name="input_1" ftype="fasta" value="hisat_input_1_interleaved.fasta" /> 783 <param name="input_1" ftype="fasta" value="hisat_input_1_interleaved.fasta" />
771 <output name="output_alignments" file="hisat_output_1_noqual.bam" ftype="bam" lines_diff="2" /> 784 <output name="output_alignments" file="hisat_output_1_noqual.bam" ftype="bam" lines_diff="2" />
785 </test>
786 <!-- Ensure novel splicesite file output works -->
787 <test>
788 <param name="type" value="single" />
789 <param name="source" value="history" />
790 <param name="history_item" ftype="fasta" value="phiX.fa" />
791 <param name="input_1" ftype="fastqsanger" value="hisat_input_1_split_forward.fastq" />
792 <param name="rna_strandness" value="R" />
793 <param name="adv|spliced_options|spliced_options_selector" value="advanced"/>
794 <param name="adv|spliced_options|novel_splicesite_outfile" value="true" />
795 <output name="output_alignments" file="hisat_output_spliced_1.bam" ftype="bam" lines_diff="2" />
796 <output name="novel_splicesite_output" file="novel_splicesite_out.tab" ftype="tabular" />
772 </test> 797 </test>
773 </tests> 798 </tests>
774 799
775 <help><![CDATA[ 800 <help><![CDATA[
776 Introduction 801 Introduction
1070 --dta-cufflinks 1095 --dta-cufflinks
1071 Report alignments tailored specifically for Cufflinks. In addition to what HISAT2 does with the above option (--dta), With this option, HISAT2 looks for novel splice sites with three signals (GT/AG, GC/AG, AT/AC), but all user-provided splice sites are used irrespective of their signals. HISAT2 produces an optional field, XS:A:[+-], for every spliced alignment. 1096 Report alignments tailored specifically for Cufflinks. In addition to what HISAT2 does with the above option (--dta), With this option, HISAT2 looks for novel splice sites with three signals (GT/AG, GC/AG, AT/AC), but all user-provided splice sites are used irrespective of their signals. HISAT2 produces an optional field, XS:A:[+-], for every spliced alignment.
1072 1097
1073 --no-templatelen-adjustment 1098 --no-templatelen-adjustment
1074 Disables template length adjustment for RNA-seq reads. 1099 Disables template length adjustment for RNA-seq reads.
1100
1101 --novel-splicesite-outfile
1102 In this mode, HISAT2 reports a list of splice sites in the file :
1103 chromosome name <tab> genomic position of the flanking base on the left side of an intron <tab> genomic position of the flanking base on the right <tab> strand (+, -, and .) '.' indicates an unknown strand for non-canonical splice sites.
1075 1104
1076 ----- 1105 -----
1077 1106
1078 **Reporting options**:: 1107 **Reporting options**::
1079 1108