# HG changeset patch # User iuc # Date 1638656245 0 # Node ID 83ab9e468b869dbf314150144c81adf9387ac81d # Parent 56aa64c236905831cd1e97c8428069d8a3b64d5d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/featurecounts commit 839f962c859728f53bb696cea0720862418f1a13" diff -r 56aa64c23690 -r 83ab9e468b86 featurecounts.xml --- a/featurecounts.xml Tue Aug 31 08:07:43 2021 +0000 +++ b/featurecounts.xml Sat Dec 04 22:17:25 2021 +0000 @@ -2,7 +2,7 @@ Measure gene expression in RNA-Seq experiments from SAM or BAM files 2.0.1 - 1 + 2 subread @@ -38,6 +38,12 @@ -T \${GALAXY_SLOTS:-2} -s $strand_specificity + + -Q $read_filtering_parameters.mapping_quality + $read_filtering_parameters.splitonly + $read_filtering_parameters.primary + $read_filtering_parameters.ignore_dup + -t '$extended_parameters.gff_feature_type' -g '$extended_parameters.gff_feature_attribute' $extended_parameters.summarization_level @@ -66,14 +72,11 @@ $extended_parameters.by_read_group - -Q $extended_parameters.mapping_quality $extended_parameters.largest_overlap --minOverlap $extended_parameters.min_overlap --fracOverlap $extended_parameters.frac_overlap --fracOverlapFeature $extended_parameters.frac_overlap_feature $extended_parameters.read_reduction - $extended_parameters.primary - $extended_parameters.ignore_dup #if $extended_parameters.R: $extended_parameters.R #end if @@ -258,6 +261,33 @@ help="If specified, the chimeric fragments (those fragments that have their two ends aligned to different chromosomes) will NOT be included for summarization. This option is only applicable for paired-end read data." /> +
+ + + + + + + + +
+
- - + + @@ -295,8 +325,8 @@ truevalue="--fraction" falsevalue="" argument="--fraction" - label="Assign fractions to multimapping reads" - help="If specified, a fractional count 1/n will be generated for each multi-mapping read, where n is the number of alignments (indica- ted by 'NH' tag) reported for the read."/> + label="Assign fractions to multi-mapping reads" + help="If specified, a fractional count 1/x will be generated for each multi-mapping read, where x is the number of alignments (indicated by 'NH' tag) reported for the read."/> + label="Assign fractions to multi-overlapping features" + help="If specified, a fractional count 1/y will be generated for each multi-overlapping feature, where y is the number of features overlapping with the read."/> + label="Assign fractions to both multi-mapping reads and multi-overlapping features" + help="If specified, a fractional count 1/(x*y) will be generated, where x is the number of alignments (indicated by 'NH' tag) and y the number of overlapping features."/> - - Reduce it to the 3' end - - - - -
@@ -620,7 +620,7 @@ FeatureCounts produces a table containing counted reads, per gene, per row. Optionally the last column can be set to be the effective gene-length. These tables are compatible with the DESeq2, edgeR and limma-voom Galaxy wrappers by IUC. .. _Subread: http://subread.sourceforge.net/ -.. _`Subread User's Guide`: http://bioinf.wehi.edu.au/subread-package/SubreadUsersGuide.pdf +.. _`Subread User's Guide`: https://bioconductor.org/packages/release/bioc/vignettes/Rsubread/inst/doc/SubreadUsersGuide.pdf .. _`Subread package`: https://sourceforge.net/projects/subread/files/ ]]> diff -r 56aa64c23690 -r 83ab9e468b86 featurecounts.xml.orig --- a/featurecounts.xml.orig Tue Aug 31 08:07:43 2021 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,635 +0,0 @@ -<<<<<<< HEAD - - Measure gene expression in RNA-Seq experiments from SAM or BAM files. - - 2.0.1 - 1 - - -======= - - Measure gene expression in RNA-Seq experiments from SAM or BAM files - - subread - ->>>>>>> d0c3b656f (add bio.tools ID) - - subread - samtools - coreutils - - - featureCounts -v 2>&1 | grep . - - - $extended_parameters.exon_exon_junction_read_counting_enabled.count_exon_exon_junction_reads - #if str($extended_parameters.exon_exon_junction_read_counting_enabled.count_exon_exon_junction_reads) == "-J": - #if $extended_parameters.exon_exon_junction_read_counting_enabled.genome: - -G '$extended_parameters.exon_exon_junction_read_counting_enabled.genome' - #end if - #end if - - $extended_parameters.long_reads - - $extended_parameters.by_read_group - - -Q $extended_parameters.mapping_quality - $extended_parameters.largest_overlap - --minOverlap $extended_parameters.min_overlap - --fracOverlap $extended_parameters.frac_overlap - --fracOverlapFeature $extended_parameters.frac_overlap_feature - $extended_parameters.read_reduction - $extended_parameters.primary - $extended_parameters.ignore_dup - #if $extended_parameters.R: - $extended_parameters.R - #end if - #if str($extended_parameters.read_extension_5p) != "0": - --readExtension5 $extended_parameters.read_extension_5p - #end if - - #if str($extended_parameters.read_extension_3p) != "0": - --readExtension3 $extended_parameters.read_extension_3p - #end if - - $pe_parameters.fragment_counting_enabled.fragment_counting - #if str($pe_parameters.fragment_counting_enabled.fragment_counting) == " -p": - $pe_parameters.fragment_counting_enabled.check_distance_enabled.check_distance - #if str($pe_parameters.fragment_counting_enabled.check_distance_enabled.check_distance) == " -P": - -d $pe_parameters.fragment_counting_enabled.check_distance_enabled.minimum_fragment_length - -D $pe_parameters.fragment_counting_enabled.check_distance_enabled.maximum_fragment_length - #end if - #end if - - $pe_parameters.only_both_ends - $pe_parameters.exclude_chimerics - - '${alignment}' - - ## Remove comment and add sample name to header - && grep -v "^#" "output" - | sed -e 's|${alignment}|${alignment.element_identifier}|g' - > body.txt - ## Set the right columns for the tabular formats - #if $format.value == "tabdel_medium": - && cut -f 1,7 body.txt > expression_matrix.txt - - ## Paste doesn't allow a non ordered list of columns: -f 1,7,8,6 will only return columns 1,7 and 8 - ## Thus the gene length column (last column) has to be added separately - && cut -f 6 body.txt > gene_lengths.txt - && paste expression_matrix.txt gene_lengths.txt > expression_matrix.txt.bak - && mv -f expression_matrix.txt.bak '${output_medium}' - #elif $format.value == "tabdel_short": - && cut -f 1,7 body.txt > '${output_short}' - #else: - && cp body.txt '${output_full}' - #end if - - #if str($include_feature_length_file) == "true": - && cut -f 1,6 body.txt > '${output_feature_lengths}' - #end if - - #if str($extended_parameters.exon_exon_junction_read_counting_enabled.count_exon_exon_junction_reads) == "-J": - && sed -e 's|${alignment}|${alignment.element_identifier}|g' 'output.jcounts' > '${output_jcounts}' - #end if - - #if $extended_parameters.R: - && samtools sort --no-PG -o '$output_bam' -@ \${GALAXY_SLOTS:-2} -T "\${TMPDIR:-.}" *.featureCounts.bam - #end if - && sed -e 's|${alignment}|${alignment.element_identifier}|g' 'output.summary' > '${output_summary}' - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - format == "tabdel_medium" - - - - - - - extended_parameters['R'] - - - - format == "tabdel_short" - - - - - - - format == "tabdel_full" - - - - - - - - - - - - - include_feature_length_file - - - - - - - extended_parameters['exon_exon_junction_read_counting_enabled']['count_exon_exon_junction_reads'] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - -
- - - - - - - - - - - - - - - - - - -
- -
- -
-
- - Requirements`. To create the files, the annotations were downloaded from NCBI RefSeq database and then adapted by merging overlapping exons from the same gene to form a set of disjoint exons for each gene. Genes with the same Entrez gene identifiers were also merged into one gene. See the `Subread User's Guide`_ for more information. Gene names can be obtained for these Entrez identifiers with the Galaxy **annotateMyIDs** tool. - -Output format -------------- -FeatureCounts produces a table containing counted reads, per gene, per row. Optionally the last column can be set to be the effective gene-length. These tables are compatible with the DESeq2, edgeR and limma-voom Galaxy wrappers by IUC. - -.. _Subread: http://subread.sourceforge.net/ -.. _`Subread User's Guide`: http://bioinf.wehi.edu.au/subread-package/SubreadUsersGuide.pdf -.. _`Subread package`: https://sourceforge.net/projects/subread/files/ - ]]> - - 10.1093/bioinformatics/btt656 - -