Skip to content

task_counts.sh: featureCounts should use the unsorted BAM/CRAM  #2

Description

@gpertea

Weirdly enough, featureCounts requires input BAM/CRAM to be sorted by read name instead of coordinate (in order to keep paired reads together).
If coordinate-sorted input is given, featureCounts first sorts the input stream by name using huge temporary files (because they are uncompressed SAM!).

Since task_fq2cram.sh should be keeping the "unsorted" BAM/CRAM file around, that one should be served directly to featureCounts in this mini-RNAseq pipeline.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions