Skip to content

Compute paired-end coverage—extracting read start and end positions—in transcriptomic (exon) space based on a BED-12 gene annotation. The script converts a paired-end BAM alignment into per-gene exon annotations and count data, then saves the result as an RData file.

License

Notifications You must be signed in to change notification settings

SchwartzLab/bam2ReadEnds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

bam2ReadEnds

Compute paired-end coverage—extracting read start and end positions—in transcriptomic (exon) space based on a BED-12 gene annotation. The script converts a paired-end BAM alignment into per-gene exon annotations and count data, then saves the result as an RData file.

Requirements

  • R (≥ 3.5)
  • CRAN packages: optparse, magrittr, parallel, plyr
  • System tools: samtools, bedtools

Usage

Rscript bam2ReadEnds.R
-i
-g <geneAnnotation.bed>
-l
-m
-n

Options

-i --BAMfile string — Input BAM alignment file -g --geneAnnotation string — Gene annotation in BED-12 format -l --maxInsLen integer 200 Maximum insert length (in bp) -m --minInsG integer 15 Minimum number of inserts required to report gene -n --nCores integer 2 Number of CPU cores to use

About

Compute paired-end coverage—extracting read start and end positions—in transcriptomic (exon) space based on a BED-12 gene annotation. The script converts a paired-end BAM alignment into per-gene exon annotations and count data, then saves the result as an RData file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages