Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • inah@bi.vt.edu
    Junior Member
    • Mar 2018
    • 1

    Question: counting after aligning miRNA reads to miRBase mature miRNA instead of refe

    I have human miRNA-seq data. In the past I have aligned these data using Bowtie2 to the reference genome (Homo_sapiens.GRCh38.dna.toplevel.fa), and I have subsequently performed counting using featureCounts with the annotation file hsa.gff3 from miRBase. . Now I have aligned the reads to the mature miRNA from miRBase (mature.fa), but when I look at the resulting bam files, the reads have a flag of 4 (segment unmapped) and there is no position information in mature.fa.

    So can I use mature.fa as the reference for alignment and if so how is counting performed?

    Thanks, Ina
  • sbarberan
    Member
    • Feb 2017
    • 17

    #2
    Hi Ina,

    I use samtools and picard-tools to get the counts for miRNAs.

    Here is what I would do for bowtie2 alignment to miRBase
    bowtie2 -L8 --local -x miRBase-mature-hsa-index -U FILE.fastq -S FILE.sam
    samtools view -b -S FILE.sam > FILE.bam
    samtools sort FILE.bam > FILE.sorted
    picard-tools BuildBamIndex I=FILE.sorted
    picard-tools BamIndexStats I=FILE.sorted > FILE.txt

    Makes sense?

    Cheers,
    sergio

    Comment

    Latest Articles

    Collapse

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 06-09-2026, 11:58 AM
    0 responses
    25 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-05-2026, 10:09 AM
    0 responses
    30 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-04-2026, 08:59 AM
    0 responses
    39 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-02-2026, 12:03 PM
    0 responses
    62 views
    0 reactions
    Last Post SEQadmin2  
    Working...