checkBedFasta: Function to control Bed and FASTA files compatibility.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/checkBedFasta.R

Description

checkBedFasta checks the compatibility of a Bed file and a Fasta file. The functions first will control the consistency of the Bed file in terms of duplicated positions or feature's IDs and correct definition of start-end values. Then, the method will control the consistency between the specified features and the reference file. During its execution, several testing messages will be printed.

Usage

1
checkBedFasta(bedFile, fastaFile)

Arguments

bedFile

Character indicating the bed file full path.

fastaFile

Character indicating the full path to the genome reference file.

Value

NULL

Author(s)

Gabriela A. Merino gmerino@bdmg.com.ar, Cristobal Fresno cfresno@bdmg.com.ar, Yanina Murua ymurua@leloir.org.ar, Andrea S. Llera allera@leloir.org.ar and Elmer A. Fernandez efernandez@bdmg.com.ar

See Also

TargetExperiment-class

Examples

1
2
3
4
5
6
##Define the bed and fasta file full paths
bedFile<-system.file("extdata", "mybed.bed", package="TarSeqQC", mustWork=TRUE)
fastaFile<-system.file("extdata", "myfasta.fa", package="TarSeqQC",
    mustWork=TRUE)
##Checking the bed-fasta consistency
checkBedFasta(bedFile, fastaFile)

gamerino/TarSeqQC documentation built on Feb. 3, 2020, 9:19 p.m.