Mercurial > repos > iuc > hisat2
comparison hisat2.xml @ 10:da8d655e2154 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d3803bf87eb04a8c2a239e270c8c5c0596277890
author | iuc |
---|---|
date | Mon, 10 Apr 2017 17:40:42 -0400 |
parents | 2dbb7f0ea66f |
children | e926afbd9e10 |
comparison
equal
deleted
inserted
replaced
9:2dbb7f0ea66f | 10:da8d655e2154 |
---|---|
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <tool id="hisat2" name="HISAT2" version="2.0.5"> | 2 <tool id="hisat2" name="HISAT2" version="2.0.5" profile="17.01"> |
3 <description>A fast and sensitive alignment program</description> | 3 <description>A fast and sensitive alignment program</description> |
4 <macros> | 4 <macros> |
5 <import>hisat2_macros.xml</import> | 5 <import>hisat2_macros.xml</import> |
6 </macros> | 6 </macros> |
7 <requirements> | 7 <requirements> |
18 <command><![CDATA[ | 18 <command><![CDATA[ |
19 #if str($spliced_options.spliced_options_selector) == "advanced" and str($spliced_options.known_splice_gtf) != 'None': | 19 #if str($spliced_options.spliced_options_selector) == "advanced" and str($spliced_options.known_splice_gtf) != 'None': |
20 ln -s '${spliced_options.known_splice_gtf}' splice_sites.gtf && | 20 ln -s '${spliced_options.known_splice_gtf}' splice_sites.gtf && |
21 hisat2_extract_splice_sites.py splice_sites.gtf > splice_sites.txt && | 21 hisat2_extract_splice_sites.py splice_sites.gtf > splice_sites.txt && |
22 #end if | 22 #end if |
23 | |
24 @FASTQGZ_SETUP@ | |
25 | |
23 #if $reference_genome.reference_genome_source == "history": | 26 #if $reference_genome.reference_genome_source == "history": |
24 ln -s '$reference_genome.history_item' genome.fa && | 27 ln -s '$reference_genome.history_item' genome.fa && |
25 hisat2-build -p \${GALAXY_SLOTS:-1} genome.fa genome && | 28 hisat2-build -p \${GALAXY_SLOTS:-1} genome.fa genome && |
26 #set index_path = 'genome' | 29 #set index_path = 'genome' |
27 #else: | 30 #else: |
28 #set index_path = $reference_genome.index.fields.path | 31 #set index_path = $reference_genome.index.fields.path |
29 #end if | 32 #end if |
30 hisat2 -p \${GALAXY_SLOTS:-1} -x '${index_path}' | 33 hisat2 -p \${GALAXY_SLOTS:-1} -x '${index_path}' |
31 #if str($input_format.paired.paired_selector) == 'paired': | 34 #if str($input_format.paired.paired_selector) != 'single': |
32 -1 '${input_format.paired.reads_f}' -2 '${input_format.paired.reads_r}' | 35 -1 '${read1}' -2 '${read2}' |
33 @paired_end_options@ | |
34 #else if str($input_format.paired.paired_selector) == 'paired_collection': | |
35 -1 '${input_format.paired.reads.forward}' -2 '${input_format.paired.reads.reverse}' | |
36 @paired_end_options@ | 36 @paired_end_options@ |
37 #else: | 37 #else: |
38 -U '${input_format.paired.reads}' | 38 -U '${read1}' |
39 #if str( $input_format.paired.unaligned_file ) == "true": | 39 #if str( $input_format.paired.unaligned_file ) == "true": |
40 --un '$output_unaligned_reads_l' | 40 #if $compressed == "GZ": |
41 --un-gz '$output_unaligned_reads_l' | |
42 #else if $compressed == "BZ2": | |
43 --un-gz '$output_unaligned_reads_l' | |
44 #else: | |
45 --un '$output_unaligned_reads_l' | |
46 #end if | |
41 #end if | 47 #end if |
42 #if str( $input_format.paired.aligned_file ) == "true": | 48 #if str( $input_format.paired.aligned_file ) == "true": |
43 --al '$output_aligned_reads_l' | 49 #if $compressed == "GZ": |
50 --al-gz '$output_aligned_reads_l' | |
51 #else if $compressed == "BZ2": | |
52 --al-bz2 '$output_aligned_reads_l' | |
53 #else: | |
54 --al '$output_aligned_reads_l' | |
55 #end if | |
44 #end if | 56 #end if |
45 #end if | 57 #end if |
46 #if $input_format.input_format_selector == 'fasta': | 58 #if $input_format.input_format_selector == 'fasta': |
47 -f | 59 -f |
48 #end if | 60 #end if |
123 </param> | 135 </param> |
124 <when value="fasta"> | 136 <when value="fasta"> |
125 <expand macro="paired_input_conditional" ftype="fasta" /> | 137 <expand macro="paired_input_conditional" ftype="fasta" /> |
126 </when> | 138 </when> |
127 <when value="fastq"> | 139 <when value="fastq"> |
128 <expand macro="paired_input_conditional" ftype="fastq" /> | 140 <expand macro="paired_input_conditional" ftype="fastq,fastqsanger,fastq.gz,fastqsanger.gz,fastq.bz2,fastqsanger.bz2" /> |
129 </when> | 141 </when> |
130 </conditional> | 142 </conditional> |
131 <conditional name="reference_genome"> | 143 <conditional name="reference_genome"> |
132 <param name="reference_genome_source" type="select" label="Source for the reference genome to align against" help="Built-in references were created using default options"> | 144 <param name="reference_genome_source" type="select" label="Source for the reference genome to align against" help="Built-in references were created using default options"> |
133 <option value="indexed" selected="True">Use a built-in genome</option> | 145 <option value="indexed" selected="True">Use a built-in genome</option> |
425 <param name="reads_f" value="test_unaligned_reads.fasta" ftype="fasta" /> | 437 <param name="reads_f" value="test_unaligned_reads.fasta" ftype="fasta" /> |
426 <param name="reads_r" value="test_unaligned_reads.fasta" ftype="fasta" /> | 438 <param name="reads_r" value="test_unaligned_reads.fasta" ftype="fasta" /> |
427 <output name="output_unaligned_reads_l" file="test_unaligned_reads.fasta" /> | 439 <output name="output_unaligned_reads_l" file="test_unaligned_reads.fasta" /> |
428 <output name="output_unaligned_reads_r" file="test_unaligned_reads.fasta" /> | 440 <output name="output_unaligned_reads_r" file="test_unaligned_reads.fasta" /> |
429 </test> | 441 </test> |
442 <test><!-- Ensure fastqsanger.gz works --> | |
443 <param name="input_format_selector" value="fastq" /> | |
444 <param name="paired_selector" value="paired" /> | |
445 <param name="reference_genome_source" value="history" /> | |
446 <param name="history_item" value="phiX.fa" ftype="fasta" /> | |
447 <param name="input_options_selector" value="advanced" /> | |
448 <param name="trim_three" value="15" /> | |
449 <param name="trim_five" value="15" /> | |
450 <param name="reads_f" ftype="fastqsanger.gz" value="hisat_input_2_forward.fastq.gz" /> | |
451 <param name="reads_r" ftype="fastqsanger.gz" value="hisat_input_2_reverse.fastq.gz" /> | |
452 <param name="paired_end_options_selector" value="advanced" /> | |
453 <param name="no_mixed" value="True" /> | |
454 <param name="no_discordant" value="True" /> | |
455 <output name="output_alignments" ftype="bam" file="hisat_output_3.bam" lines_diff="2" /> | |
456 </test> | |
457 <test><!-- Ensure fastqsanger.bz2 works --> | |
458 <param name="input_format_selector" value="fastq" /> | |
459 <param name="paired_selector" value="paired" /> | |
460 <param name="reference_genome_source" value="history" /> | |
461 <param name="history_item" value="phiX.fa" ftype="fasta" /> | |
462 <param name="input_options_selector" value="advanced" /> | |
463 <param name="trim_three" value="15" /> | |
464 <param name="trim_five" value="15" /> | |
465 <param name="reads_f" ftype="fastqsanger.bz2" value="hisat_input_2_forward.fastq.bz2" /> | |
466 <param name="reads_r" ftype="fastqsanger.bz2" value="hisat_input_2_reverse.fastq.bz2" /> | |
467 <param name="paired_end_options_selector" value="advanced" /> | |
468 <param name="no_mixed" value="True" /> | |
469 <param name="no_discordant" value="True" /> | |
470 <output name="output_alignments" ftype="bam" file="hisat_output_3.bam" lines_diff="2" /> | |
471 </test> | |
430 </tests> | 472 </tests> |
431 <help> | 473 <help> |
432 <![CDATA[ | 474 <![CDATA[ |
433 Introduction | 475 Introduction |
434 ============ | 476 ============ |