Skip to content

"--gtf_extra_attributes" only works by giving one attribute and not comma separated multiple values #1626

@ahwanpandey

Description

@ahwanpandey

Description of the bug

Hi,

The --gtf_extra_attributes only works when you give it one extra attribute. Eg.. --gtf_extra_attributes gene_name works whereas --gtf_extra_attributes gene_name,gene_type does not work. The following is the output in tx2gene.tsv

Image

The usage section seems to relay that multiple attributes should work:

Image

Here are are a couple of lines from my GENCODE GTF:

chr1    HAVANA  transcript      11121   14413   .       +       .       gene_id "ENSG00000290825.2"; transcript_id "ENST00000832824.1"; gene_type "lncRNA"; gene_name "DDX11L16"; transcript_type "lncRNA"; transcript_name "DDX11L16-260"; level 2; tag "TAGENE";
chr1    HAVANA  exon    11121   11211   .       +       .       gene_id "ENSG00000290825.2"; transcript_id "ENST00000832824.1"; gene_type "lncRNA"; gene_name "DDX11L16"; transcript_type "lncRNA"; transcript_name "DDX11L16-260"; exon_number 1; exon_id "ENSE00004248723.1"; level 2; tag "TAGENE";
chr1    HAVANA  exon    12010   12227   .       +       .       gene_id "ENSG00000290825.2"; transcript_id "ENST00000832824.1"; gene_type "lncRNA"; gene_name "DDX11L16"; transcript_type "lncRNA"; transcript_name "DDX11L16-260"; exon_number 2; exon_id "ENSE00004248735.1"; level 2; tag "TAGENE";

Also, v3.21.0 still seems to use --featurecounts_group_type and not --gtf_group_features_type as mentioned in the usage:

Image

Thanks,
Ahwan

Command used and terminal output

nextflow run $NEXTFLOW_PIPELINE_DIR \
-profile singularity \
-c $CLUSTER_CONFIG_FILE \
-params-file $PARAMS_FILE

params file and nextflow log attached below

Relevant files

nextflow.log

nfcore_params.json

System information

Nextflow version (v24.10.5)
Hardware (HPC)
Executor (slurm)
Container engine: (singularity)
OS (Redhat)
Version of nf-core/rnaseq (v3.21.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions