# HG changeset patch # User iuc # Date 1491308143 14400 # Node ID 2dbb7f0ea66fd028badfd39129ce580c99adefec # Parent 4d0a3173cde06b75a80159c14ba1b568b2fcee7d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 1baf0d1eb5d9cb012e4ce1385431461f26f7bc05 diff -r 4d0a3173cde0 -r 2dbb7f0ea66f hisat2.xml --- a/hisat2.xml Thu Feb 16 08:50:24 2017 -0500 +++ b/hisat2.xml Tue Apr 04 08:15:43 2017 -0400 @@ -1,13 +1,13 @@ - + A fast and sensitive alignment program hisat2_macros.xml - hisat2 - samtools + hisat2 + samtools @@ -17,25 +17,25 @@ hisat2 --version splice_sites.txt && #end if #if $reference_genome.reference_genome_source == "history": - ln -s "$reference_genome.history_item" genome.fa && - hisat2-build genome.fa genome && + ln -s '$reference_genome.history_item' genome.fa && + hisat2-build -p \${GALAXY_SLOTS:-1} genome.fa genome && #set index_path = 'genome' #else: #set index_path = $reference_genome.index.fields.path #end if - hisat2 -p \${GALAXY_SLOTS:-1} -x "${index_path}" + hisat2 -p \${GALAXY_SLOTS:-1} -x '${index_path}' #if str($input_format.paired.paired_selector) == 'paired': - -1 "${input_format.paired.reads_f}" -2 "${input_format.paired.reads_r}" + -1 '${input_format.paired.reads_f}' -2 '${input_format.paired.reads_r}' @paired_end_options@ #else if str($input_format.paired.paired_selector) == 'paired_collection': - -1 "${input_format.paired.reads.forward}" -2 "${input_format.paired.reads.reverse}" + -1 '${input_format.paired.reads.forward}' -2 '${input_format.paired.reads.reverse}' @paired_end_options@ #else: - -U "${input_format.paired.reads}" + -U '${input_format.paired.reads}' #if str( $input_format.paired.unaligned_file ) == "true": --un '$output_unaligned_reads_l' #end if @@ -46,9 +46,13 @@ #if $input_format.input_format_selector == 'fasta': -f #end if - #if $max_primary: + #if str($max_primary) -k ${max_primary} #end if + #if str($max_seeds) + --max-seeds $max_seeds + #end if + $secondary #if str($input_options.input_options_selector) == "advanced": #if int( $input_options.skip ) > 0: -s ${input_options.skip} @@ -59,8 +63,10 @@ -5 ${input_options.trim_five} -3 ${input_options.trim_three} #end if #if str($scoring_options.scoring_options_selector) == "advanced": - --ma ${scoring_options.match_bonus} --np ${scoring_options.ambiguous_penalty} + --ma ${scoring_options.match_bonus} --mp ${scoring_options.max_mismatch},${scoring_options.min_mismatch} + ${scoring_options.no_softclip} + --np ${scoring_options.ambiguous_penalty} --rdg ${scoring_options.read_open_penalty},${scoring_options.read_extend_penalty} --rfg ${scoring_options.ref_open_penalty},${scoring_options.ref_extend_penalty} --sp ${scoring_options.soft_clip_penalty_max},${scoring_options.soft_clip_penalty_min} @@ -77,7 +83,11 @@ #if str($spliced_options.known_splice_gtf) != 'None': --known-splicesite-infile splice_sites.txt #end if - ${spliced_options.no_spliced_alignment} + ${spliced_options.no_spliced_alignment_options.no_spliced_alignment} + #if $spliced_options.no_spliced_alignment_options.no_spliced_alignment == '--no-spliced-alignment' + -I ${spliced_options.no_spliced_alignment_options.minins} + -X ${spliced_options.no_spliced_alignment_options.maxins} + #end if --min-intronlen ${spliced_options.min_intron} --max-intronlen ${spliced_options.max_intron} ${spliced_options.tma} @@ -87,7 +97,7 @@ --minins ${paired_options.minins} --maxins ${paired_options.maxins} ${paired_options.no_mixed} ${paired_options.no_discordant} ${paired_options.dovetail} ${paired_options.contain} ${paired_options.overlap} #end if - | samtools sort - -@ \${GALAXY_SLOTS:-2} -l 6 -o hsbam > "${output_alignments}" + | 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': @@ -107,35 +117,37 @@ ]]> - - + + - + - + - - + + - + - - + + - + - + + + @@ -144,80 +156,91 @@ - - - + + + - + - - - - + + + + - + - - - - - - - - - - - + + + + + + + + + + + + - + - - - + + + - - - + + + - + - - - - + + + + + help="'F' means a read corresponds to a transcript. 'R' means a read corresponds to the reverse complemented counterpart of a transcript"> - - - + + + + + + + + + + + + + @@ -226,43 +249,43 @@ - + - - - - - - - + + + + + + + - + - - - - - - - - - - - + + + + + + + + + + + - + input_format['paired']['unaligned_file'] is True @@ -284,7 +307,7 @@ - + input_format['paired']['unaligned_file'] is True and input_format['paired']['paired_selector'] != 'single' @@ -301,7 +324,7 @@ - + input_format['paired']['aligned_file'] is True @@ -323,7 +346,7 @@ - + input_format['paired']['aligned_file'] is True and input_format['paired']['paired_selector'] != 'single' @@ -388,10 +411,8 @@ - - @@ -403,7 +424,6 @@ - diff -r 4d0a3173cde0 -r 2dbb7f0ea66f test-data/hisat_output_1.bam Binary file test-data/hisat_output_1.bam has changed diff -r 4d0a3173cde0 -r 2dbb7f0ea66f test-data/hisat_output_2.bam Binary file test-data/hisat_output_2.bam has changed diff -r 4d0a3173cde0 -r 2dbb7f0ea66f test-data/hisat_output_3.bam Binary file test-data/hisat_output_3.bam has changed