How do I convert a BAM file to SAM and GFF file to GTF for use in featurecount?
Show older comments
I would like to use the featurecount function in the Bioinformatics Toolbox. However it appears that it only accepts SAM and GTF files. My data is currently in a BAM and GFF files, which are nearly identical to SAM and GTF.
Is there any way to give these files to featurecount directly or to convert them using the Bioinformatics Toolbox? Doing this conversion directly through the Bioinformatics Toolbox would be convenient so that I don't have to manually do the work beforehand.
Accepted Answer
More Answers (1)
Fulden Buyukozturk
on 7 Jun 2022
0 votes
The featurecount function now accepts BAM files. GFF is not supported by featurecount, but the cuffgffread function can convert between GTF and GFF files.
Categories
Find more on Data Import in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!