# HG changeset patch # User iuc # Date 1474408266 14400 # Node ID 55ed198f2c1c9d2348543c34ae162b0f618c626f # Parent a6dcb86af1122c926b38a0596fe18a91834e6d19 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/htseq_count commit 03f64004f90ac0a7be67ecfc355a7b361f3c3314 diff -r a6dcb86af112 -r 55ed198f2c1c README.rst --- a/README.rst Tue Jul 28 13:29:18 2015 -0400 +++ b/README.rst Tue Sep 20 17:51:06 2016 -0400 @@ -12,15 +12,8 @@ Installation directly from the `Galaxy Toolshed `_ is recommended. -Development ------------ - -Repository-Maintainer: Lance Parsons - -Repository-Development: `https://bitbucket.org/lance_parsons/htseq_count_galaxy_wrapper `_ - -License -------- +Galaxy Wrapper License +---------------------- Copyright (c) 2012-2014, Lance R. Parsons All rights reserved. diff -r a6dcb86af112 -r 55ed198f2c1c htseq-count.xml --- a/htseq-count.xml Tue Jul 28 13:29:18 2015 -0400 +++ b/htseq-count.xml Tue Sep 20 17:51:06 2016 -0400 @@ -1,10 +1,8 @@ - + - Count aligned reads in a BAM file that overlap features in a GFF file - htseq - numpy + htseq samtools - pysam @@ -22,7 +20,7 @@ &1 || echo "Error running samtools faidx for htseq-count" >&2 && @@ -30,11 +28,11 @@ #set $reference_fasta_filename = str( $samout_conditional.reference_source.ref_file.fields.path ) #end if #end if - #if $force_sort: + #if $force_sort == "True": #if $samfile.extension == 'bam': samtools sort -n "$samfile" "name_sorted_alignment" && #else - samtools view -Su -t ${reference_fasta_filename}.fai "$samfile" | samtools sort -n - "name_sorted_alignment" && + samtools view -Su -t "${reference_fasta_filename}.fai" "$samfile" | samtools sort -n - "name_sorted_alignment" && #end if #end if htseq-count @@ -43,10 +41,10 @@ --minaqual=$minaqual --type="$featuretype" --idattr="$idattr" - #if $samout_conditional.samout: + #if $samout_conditional.samout == "Yes": --samout=$__new_file_path__/${samoutfile.id}_tmp #end if - #if $force_sort: + #if $force_sort == "True": --order=name --format=bam name_sorted_alignment.bam @@ -57,8 +55,8 @@ #end if "$gfffile" | awk '{if ($1 ~ "no_feature|ambiguous|too_low_aQual|not_aligned|alignment_not_unique") print $0 | "cat 1>&2"; else print $0}' > $counts 2>$othercounts - #if $samout_conditional.samout: - && samtools view -Su -t ${reference_fasta_filename}.fai $__new_file_path__/${samoutfile.id}_tmp | samtools sort -o - sorted > $samoutfile + #if $samout_conditional.samout == "Yes": + && samtools view -Su -t "${reference_fasta_filename}.fai" "$__new_file_path__/${samoutfile.id}_tmp" | samtools sort -o - sorted > "$samoutfile" #end if ]]> @@ -66,32 +64,34 @@ - + Mode to handle reads overlapping more than one feature. - + - + Specify whether the data is from a strand-specific assay. 'Reverse' means yes with reversed strand interpretation. - + - - Skip all reads with alignment quality lower than the given minimum value. (-minaqual) + + Skip all reads with alignment quality lower than the given minimum value. - - Feature type (3rd column in GFF file) to be used. All features of other types are ignored. The default, suitable for RNA-Seq and Ensembl GTF files, is exon. (--type) + + Feature type (3rd column in GFF file) to be used. All features of other types are ignored. The default, suitable for RNA-Seq and Ensembl GTF files, is exon. - + GFF attribute to be used as feature ID. Several GFF lines with the same feature ID will be considered as parts of the same feature. The feature ID is used to identity the counts in the output table. All features of the specified type MUST have a value for this attribute. The default, suitable for RNA-Seq and Ensembl GTF files, is gene_id. - + Write out all SAM alignment records into an output BAM file, annotating each line with its assignment to a feature or a special counter (as an optional field with tag ‘XF’). + + - + @@ -110,6 +110,9 @@ + + + This option can be used for for paired-end data that has many unmapped mates. Use this if you get the warning about paired end data missing or not being properly sorted. @@ -120,7 +123,7 @@ - samout_conditional['samout'] + samout_conditional['samout'] == "Yes" @@ -128,14 +131,14 @@ - + - + @@ -143,7 +146,7 @@ - + @@ -151,7 +154,7 @@ - + @@ -159,7 +162,7 @@ - + @@ -294,7 +297,7 @@ year = {2015}, pmid = {25260700}, pages = {166--169}, - file = {Full Text PDF:/Users/lparsons/Library/Application Support/Firefox/Profiles/thd2t4je.default/zotero/storage/84XQB8V6/Anders et al. - 2015 - HTSeq—a Python framework to work with high-through.pdf:application/pdf;Snapshot:/Users/lparsons/Library/Application Support/Firefox/Profiles/thd2t4je.default/zotero/storage/JKUAUCKB/166.html:text/html} + } } diff -r a6dcb86af112 -r 55ed198f2c1c tool_dependencies.xml --- a/tool_dependencies.xml Tue Jul 28 13:29:18 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - -