Description Usage Arguments Details Value Note Author(s) See Also Examples
This function imports a project of Roche's Amplicon Variant Analyzer (AVA) Software. It stores all information into an extended version of the Biobase eSet.
1 |
dirname |
The path of the AVA project. |
avaBin |
The directory containing the AVA-CLI binary doAmplicon (usually "bin" in the AVA installation directory) |
file_sample |
Sample information exported with the AVA-CLI. File has to be in CSV format. |
file_amp |
Amplicons exported with the AVA-CLI. File has to be in CSV format. |
file_reference |
Reference sequences exported with the AVA-CLI. File has to be in CSV format. |
file_variant |
Variant information exported with the AVA-CLI. File has to be in CSV format. |
file_variantHits |
Report of variant hits exported with the AVA-CLI. File has to be in CSV format. |
The five arguments for AVA command line interface (AVA-CLI) exports are optional and useful for exported projects, when no AVA software is installed.
For exporting, start the AVA-CLI with the command "doAmplicon" and use the commands "open", then "list sample", "list amplicon", "list reference",
"list variant" and "report variantHits". See AVASet-class
for more details.
Giving only a project directory and the path to the AVA-CLI binary doAmplicon, AVASet
will
import all information by accessing the AVA-CLI from within R.
An AVASet object consists of three slots to store data about
1. variants
Data frames that contain the number of reads with the respective variant in forward/reverse direction.
Data frames that contain the total coverage for every variant location in forward/reverse direction.
Gives the identifier of the reference sequence.
The bases changed in each variant.
The position of the variant on the reference sequence.
Short identifiers of a variant including the position and the bases changed.
2. amplicons
Data frames that contain the number of reads for every amplicon and each sample in forward/reverse direction.
The primer sequences for every amplicon.
The identifier of the reference sequence.
The coordinates of the target region.
3. reference sequences
alignShortReads
, this slot knows about the chromosome, position and
the strand of each reference sequence.The structure of the variant and amplicon data is derived from the Biobase eSet and thus separated into assayData, phenoData and
featureData. All information about the reference sequences is stored into an object of class AlignedRead
.
The phenoData of the variants lists the sample-IDs and name, annotation and group of the read data for all samples. If available, the pico titer plate(s) (PTP) or MID(s) of each sample are shown as well (using the AVA-CLI, PTPs and MIDs cannot be importet at the moment).
An instance of the AVASet class.
It is recommended to use the import via AVA-CLI access. Although deprecated, the import for projects created with older version of the AVA software (< v2.6) is still possible.
Christoph Bartenhagen
AVASet-class
, MapperSet-class
, alignShortReads
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Loading a project from AVA version < 2.6:
# Load an AVA dataset containing 6 samples, 4 amplicons and 259 variants
data(avaSetExample)
avaSetExample
# Loading exported data, that was exported via AVA-CLI
# Load an AVA dataset containing 6 samples, 4 amplicons and 222 variants
# by specifying each file exported from the AVA-CLI
projectDir = system.file("extdata", "AVASet_doAmplicon", package="R453Plus1Toolbox")
avaSetExample = AVASet(dirname=projectDir, file_sample="sample.csv", file_amp="amp.csv", file_reference="reference.csv", file_variant="variant.csv", file_variantHits="variantHits.csv")
avaSetExample
# In case AVA software is installed:
# Saying, for example, the AVA software was installed to the directory "/home/User/AVA",
# the easiest way to import a project via AVA-CLI would look like:
# avaSetExample = AVASet(dirname="myProjectDir", avaBin="/home/User/AVA/bin")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.