Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stringtie and featurecounts results: counts_gene.txt has more rows than counts_transcript.txt #265

Open
CHENAO-QIAN opened this issue Apr 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@CHENAO-QIAN
Copy link

CHENAO-QIAN commented Apr 19, 2024

Description of the bug

I am running the pipeline with stringtie and featurecounts option. In stringtie2/featureCounts/, I got the counts table for genes and transcripts. However, counts_gene.txt has more rows than counts_transcript.txt. In counts_gene.txt, one MSTRG (stringtie gene) has several rows. I am wondering if counts_gene.txt is actually reporting exon counts.

Checking the featurecounts code in the pipeline, how were the parameters chosen/optimized?

featureCounts \\
        -L \\
        -O \\
        -f \\
        -g gene_id \\
        -t exon \\
        -T $task.cpus \\
        -a $gtf \\
        -o counts_gene.txt \\
        $bams

    featureCounts \\
        -L \\
        -O \\
        -f \\
        --primary \\
        --fraction \\
        -F GTF \\
        -g transcript_id \\
        -t transcript \\
        --extraAttributes gene_id \\
        -T $task.cpus \\
        -a $gtf \\
        -o counts_transcript.txt \\
        $bams

Thanks!

Command used and terminal output

Nextflow run nf-core/nanoseq -r 3.1.0 -profile singularity --input samples.csv --protocol cDNA --skip_demultiplexing --aligner mininap2 --quantification_method stringtie2 --skip_fusion_analysis --skip_differential_analysis 


No error.

Relevant files

No response

System information

Nextflow 23.04.1
HPC
Cmd
Singularity
CentOS
nanoseq 3.1.0

@CHENAO-QIAN CHENAO-QIAN added the bug Something isn't working label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant