bt.bamtofastq: Convert BAM alignments to FASTQ files.

View source: R/bt.bamtofastq.R

bt.bamtofastqR Documentation

Convert BAM alignments to FASTQ files.

Description

Convert BAM alignments to FASTQ files.

Usage

bt.bamtofastq(i, fq, fq2 = NULL, tags = NULL, output = NULL)

Arguments

i

<BAM>

fq

<FQ>

fq2

FASTQ for second end. Used if BAM contains paired-end data. BAM should be sorted by query name is creating paired FASTQ.

tags

Create FASTQ based on the mate info in the BAM R2 and Q2 tags.

output

Output filepath instead of returning output in R.


PhanstielLab/bedtoolsr documentation built on Aug. 29, 2024, 5:37 p.m.