insilicoFASTQ: Construct FASTQ File for In-silico Alignment Experiment

Description Usage Arguments Details Value Author(s) Examples

View source: R/rwCpGset.r

Description

Creates a FASTQ file with all fragments of fraglength bp long.

Usage

1
insilicoFASTQ(con, gensequence, fraglength)

Arguments

con

A connection object or a character string naming the output file.
If the name ends with ".gz", a compressed file is created.
An empty string can be used to output to the console.

gensequence

A string or DNAString of the DNA sequence.

fraglength

Fragment length.

Details

The function a FASTQ file with all fragments of fraglength bp long from the forward strand of the DNA sequence.

Value

Returns a list with CpG coordinates for each genome sequence.

Author(s)

Andrey A Shabalin andrey.shabalin@gmail.com

Examples

1
2
## There are four 4 bp fragments in a 7 basepair sequence:
insilicoFASTQ(con="", gensequence = "ABCDEFG", fraglength=4)

andreyshabalin/ramwas documentation built on Sept. 27, 2021, 7:25 p.m.