# HG changeset patch # User iuc # Date 1677247324 0 # Node ID a56fbe2d6ba7ac0104133743638e03f2610f4700 # Parent 38b6d12edc680296e7c9f16a5f5c2bb81d90eff8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/featurecounts commit 2d5d24cbdea47adb6eede757016c717840749fd1 diff -r 38b6d12edc68 -r a56fbe2d6ba7 featurecounts.xml --- a/featurecounts.xml Sat Dec 04 22:18:02 2021 +0000 +++ b/featurecounts.xml Fri Feb 24 14:02:04 2023 +0000 @@ -1,23 +1,26 @@ - + Measure gene expression in RNA-Seq experiments from SAM or BAM files - 2.0.1 - 2 + 2.0.3 + 0 + + + + + + - subread + featurecounts subread - samtools - coreutils + samtools 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: @@ -87,19 +84,21 @@ #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 + + #if str($pe_parameters.paired_end_status) != "single_end": + -p + $pe_parameters.only_both_ends + $pe_parameters.exclude_chimerics + #if str($pe_parameters.paired_end_status) == "PE_fragments": + --countReadPairs + #if $pe_parameters.check_distance_enabled.checkFragLength: + --checkFragLength + --minFragLength $pe_parameters.check_distance_enabled.minimum_fragment_length + --maxFragLength $pe_parameters.check_distance_enabled.maximum_fragment_length + #end if #end if #end if - $pe_parameters.only_both_ends - $pe_parameters.exclude_chimerics - '${alignment}' ## Remove comment and add sample name to header @@ -140,7 +139,7 @@ multiple="false" format="bam,sam" label="Alignment file" - help="The input alignment file(s) where the gene expression has to be counted. The file can have a SAM or BAM format; but ALL files must be in the same format. Unless you are using a Gene annotation file from the History, these files must have the database/genome attribute already specified e.g. hg38, not the default: ?" > + help="The input alignment file(s) where the gene expression has to be counted. The file can have a SAM or BAM format; but ALL files must be in the same format. Unless you are using a Gene annotation file from the History, these files must have the database/genome attribute already specified e.g. hg38, not the default: ?"> - + + + - + - + - + + + help="The program assumes that the provided annotation file is in GFF/GTF format. Make sure that the gene annotation file corresponds to the same reference genome as used for the alignment."> + @@ -200,74 +203,84 @@ falsevalue="false" checked="false" label="Create gene-length file" - help="Creates a tabular file that contains the effective (nucleotides used for counting reads) length of the feature; might be useful for estimating FPKM/RPKM" /> - + help="Creates a tabular file that contains the effective (nucleotides used for counting reads) length of the feature; might be useful for estimating FPKM/RPKM"/> -
- + + + + + + - - - - + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - -
+ + +
+ help="The minimum mapping quality score a read must satisfy in order to be counted. For paired-end reads, at least one end should satisfy this criteria. 0 by default."/> @@ -278,39 +291,17 @@ falsevalue="" argument="--primary" label="Only count primary alignments" - help="If specified, only primary alignments will be counted. Primary and secondary alignments are identified using bit 0x100 in theFlag field of SAM/BAM files. All primary alignments in a dataset will be counted regardless of whether they are from multi-mapping reads or not ('-M' is ignored)." /> + help="If specified, only primary alignments will be counted. Primary and secondary alignments are identified using bit 0x100 in theFlag field of SAM/BAM files. All primary alignments in a dataset will be counted regardless of whether they are from multi-mapping reads or not ('-M' is ignored)."/> + help="If specified, reads that were marked as duplicates will be ignored. Bit Ox400 in the FLAG field of a SAM/BAM file is used for identifying duplicate reads. In paired end data, the entire read pair will be ignored if at least one end is found to be a duplicate read."/>
- - - - - - @@ -320,8 +311,7 @@ - - - - + + + + + help="The FASTA-format file that contains the reference sequences used in read mapping can be used to improve read counting for junctions"/> - + + help="If specified, long reads such as Nanopore and PacBio reads will be counted. Long read counting can only run in one thread and only reads (not read-pairs) can be counted."/> - + help="If specified, reads are counted for each read group separately. The 'RG' tag must be present in the input BAM/SAM alignment files."/> + help="If specified, reads (or fragments) will be assigned to the target that has the largest number of overlapping bases"/> + help="Specify the minimum required number of overlapping bases between a read (or a fragment) and a feature. 1 by default. If a negative value is provided, the read will be extended from both ends."/> + help="Specify the minimum required fraction of overlapping bases between a read (or a fragment) and a feature. Value should be within range [0,1]. 0 by default. Number of overlapping bases is counted from both reads if paired end. Both this option and '--minOverlap' need to be satisfied for read assignment."/> + help="Specify the minimum required fraction of bases included in a feature overlapping bases between a read (or a read-pair). Value should be within range [0,1]. 0 by default."/> + help="Reads are extended upstream by ... bases from their 5' end"/> + help="Reads are extended upstream by ... bases from their 3' end"/> + help=""/>
@@ -441,7 +431,7 @@ label="${tool.name} on ${on_string}: Counts (with length)"> format == "tabdel_medium" - + @@ -456,7 +446,7 @@ label="${tool.name} on ${on_string}: Counts"> format == "tabdel_short" - + @@ -465,7 +455,7 @@ label="${tool.name} on ${on_string}: Counts (with location)"> format == "tabdel_full" - + @@ -473,7 +463,7 @@ name="output_summary" label="${tool.name} on ${on_string}: Summary"> - + @@ -482,7 +472,7 @@ label="${tool.name} on ${on_string}: Feature lengths"> include_feature_length_file - + @@ -491,16 +481,16 @@ extended_parameters['exon_exon_junction_read_counting_enabled']['count_exon_exon_junction_reads'] + default="PrimaryGene,SecondaryGene,Site1_chr,Site1_location,Site1_strand,Site2_chr,Site2_location,Site2_strand,${alignment.element_identifier}"/> - + - - + + @@ -510,10 +500,10 @@ - + - - + + @@ -526,10 +516,10 @@ - + - - + + @@ -544,11 +534,14 @@ - + - + + + +
- +
@@ -558,9 +551,9 @@
- + - + @@ -571,11 +564,11 @@ - - - -
- + + + +
+
@@ -609,8 +602,8 @@ GeneID Chr Start End Strand ====== ==== ======= ======= ====== 497097 chr1 3204563 3207049 - - 497097 chr1 3411783 3411982 - - 497097 chr1 3660633 3661579 - + 497098 chr1 3411783 3411982 - + 497099 chr1 3660633 3661579 - ====== ==== ======= ======= ====== These annotation files can be found in the `Subread package`_. You can see the version of Subread used by this wrapper in the tool form above under `Options > 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. @@ -627,3 +620,4 @@ 10.1093/bioinformatics/btt656 +