read1: Example of creating a BStringSet in C++

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Example of creating a BStringSet in C++

Usage

1
read1(classname, acc, lkup)

Arguments

acc

An accession or a path to an actual SRA file (with .sra suffix)

lkup

lkup = get_seqtype_conversion_lookup('B','DNA')

n

The number of reads to return

Value

the reads in the collection

Examples

1
2
3
4
require(Biostrings)
lkup = get_seqtype_conversion_lookup('B','DNA')
x = SRA2R:::read1('SRR000123',1000,lkup)
x

NCBI-Hackathons/SRA2R documentation built on May 7, 2019, 5:18 p.m.