bamtobed | R Documentation |
Convert Bam to Bed
bamtobed(file, outFile = gsub("\\.bam", ".bed", file), filtDup = FALSE)
file |
path to file to process (BAM). |
outFile |
path to output file (BED). |
filtDup |
output index name. |
path to BED.
Kathryn Rozen-Gagnon
testFasta <- system.file("extdata/hg19Small.fa",package="CLIPflexR") myIndex <- suppressWarnings(bowtie2_index(testFasta, overwrite = TRUE)) testFQ <- system.file("extdata/Fox3_Std_small.fq.gz",package="CLIPflexR") FqFile <- decompress(testFQ,overwrite=TRUE) FqFile_QF <- fastq_quality_filter(FqFile) FqFile_QFCollapsed <- fastx_collapser(FqFile_QF) FqFile_QFColStripped <- ctk_stripBarcode(FqFile_QFCollapsed) FqFile_QFColStpClipped <- fastx_clipper(FqFile_QFColStripped) bam <- suppressWarnings(bowtie_align(FqFile_QFColStpClipped,myIndex, overwrite = TRUE)) bamtobed(bam)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.