# HG changeset patch # User iuc # Date 1500454647 14400 # Node ID 526b91fbde6056353307b4641510fe9396c67b75 # Parent f4fa77189eb0a1a7a2bb4a4129d21ec5bff35c0a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2 diff -r f4fa77189eb0 -r 526b91fbde60 hisat2.xml --- a/hisat2.xml Tue Jul 18 14:25:13 2017 -0400 +++ b/hisat2.xml Wed Jul 19 04:57:27 2017 -0400 @@ -5,13 +5,12 @@ hisat2_macros.xml - hisat2 samtools - - + + hisat2 --version @@ -31,27 +30,27 @@ #set index_path = $reference_genome.index.fields.path #end if hisat2 -p \${GALAXY_SLOTS:-1} -x '${index_path}' - #if str($input_format.paired.paired_selector) != 'single': + #if str($input_format.paired.paired_selector) == 'paired': -1 '${read1}' -2 '${read2}' @paired_end_options@ #else: -U '${read1}' #if str( $input_format.paired.unaligned_file ) == "true": #if $compressed == "GZ": - --un-gz '$output_unaligned_reads_l' + --un-gz '$output_unaligned_reads' #else if $compressed == "BZ2": - --un-bz2 '$output_unaligned_reads_l' + --un-bz2 '$output_unaligned_reads' #else: - --un '$output_unaligned_reads_l' + --un '$output_unaligned_reads' #end if #end if #if str( $input_format.paired.aligned_file ) == "true": #if $compressed == "GZ": - --al-gz '$output_aligned_reads_l' + --al-gz '$output_aligned_reads' #else if $compressed == "BZ2": - --al-bz2 '$output_aligned_reads_l' + --al-bz2 '$output_aligned_reads' #else: - --al '$output_aligned_reads_l' + --al '$output_aligned_reads' #end if #end if #end if @@ -113,21 +112,18 @@ ${paired_options.dovetail} ${paired_options.contain} ${paired_options.overlap} #end if | samtools sort - -@ \${GALAXY_SLOTS:-1} -l 6 -o '${output_alignments}' - ## Rename any output fastq files - #if str($input_format.paired.paired_selector) == 'paired' or str($input_format.paired.paired_selector) == 'paired_collection': - #if $output_unaligned_reads_l and $output_unaligned_reads_r: - #set left = str($output_unaligned_reads_l).replace(".dat", ".1.dat") - #set right = str($output_unaligned_reads_l).replace(".dat", ".2.dat") - && mv '${left}' '${output_unaligned_reads_l}' - && mv '${right}' '${output_unaligned_reads_r}' - #end if - #if $output_aligned_reads_l and $output_aligned_reads_r: - #set left = str($output_aligned_reads_l).replace(".dat", ".1.dat") - #set right = str($output_aligned_reads_l).replace(".dat", ".2.dat") - && mv '${left}' '${output_aligned_reads_l}' - && mv '${right}' '${output_aligned_reads_r}' - #end if + #if $output_unaligned_reads_l and $output_unaligned_reads_r: + #set left = str($output_unaligned_reads_l).replace(".dat", ".1.dat") + #set right = str($output_unaligned_reads_l).replace(".dat", ".2.dat") + && mv '${left}' '${output_unaligned_reads_l}' + && mv '${right}' '${output_unaligned_reads_r}' + #end if + #if $output_aligned_reads_l and $output_aligned_reads_r: + #set left = str($output_aligned_reads_l).replace(".dat", ".1.dat") + #set right = str($output_aligned_reads_l).replace(".dat", ".2.dat") + && mv '${left}' '${output_aligned_reads_l}' + && mv '${right}' '${output_aligned_reads_r}' #end if ]]> @@ -145,7 +141,7 @@ - + @@ -160,11 +156,11 @@ - - + + - + @@ -190,10 +186,10 @@ - - - - + + + + @@ -251,20 +247,20 @@ - - + - - + + @@ -284,13 +280,15 @@ - - - - - - - + + + + + + + @@ -301,8 +299,8 @@ @@ -314,79 +312,85 @@ - - input_format['paired']['unaligned_file'] is True + + input_format['paired']['unaligned_file'] is True and input_format['paired']['paired_selector'] == 'single' + + + + + + + input_format['paired']['aligned_file'] is True and input_format['paired']['paired_selector'] == 'single' - - + + + + + + input_format['paired']['unaligned_file'] is True and input_format['paired']['paired_selector'] == 'paired' + + + - - + - - - - - - - input_format['paired']['unaligned_file'] is True and input_format['paired']['paired_selector'] != 'single' + + input_format['paired']['unaligned_file'] is True and input_format['paired']['paired_selector'] == 'paired' - - + + - - + - - - input_format['paired']['aligned_file'] is True + + input_format['paired']['aligned_file'] is True and input_format['paired']['paired_selector'] == 'paired' - - + + - - + - - - - - - - input_format['paired']['aligned_file'] is True and input_format['paired']['paired_selector'] != 'single' + + input_format['paired']['aligned_file'] is True and input_format['paired']['paired_selector'] == 'paired' - - + + - - + - @@ -397,98 +401,103 @@ + - - - - + + + + + - + - - - + + + + - + - - + + - + - + - + - - - + + + + - + - - - + + + + - + - - + + - + + - + - - + + - + - - - + ]]> 10.1038/nmeth.3317 diff -r f4fa77189eb0 -r 526b91fbde60 hisat2_macros.xml --- a/hisat2_macros.xml Tue Jul 18 14:25:13 2017 -0400 +++ b/hisat2_macros.xml Wed Jul 19 04:57:27 2017 -0400 @@ -1,52 +1,55 @@ - - - - + + + - - - - - - - + + + + + + + + + + + + + - - - + + + - + - - - + + + - - + + #if str( $input_format.paired.unaligned_file ) == "true": @@ -66,7 +69,7 @@ #else: --al-conc '${output_aligned_reads_l}' #end if - #end if + #end if #if str($input_format.paired.paired_end_options.paired_end_options_selector) == 'advanced': ${input_format.paired.paired_end_options.no_mixed} ${input_format.paired.paired_end_options.no_discordant} @@ -83,49 +86,51 @@