insilicoFASTQ {ramwas}R Documentation

Construct FASTQ File for In-silico Alignment Experiment

Description

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

Usage

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

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

[Package ramwas version 1.6.0 Index]