Description Details Synteny maps and the Synmap object GFF files and the GFF object Contig length files and Seqinfo objects SearchResult DumpResult
Synder uses the input classes Synmap
, GFF
and Seqinfo
(the last of which is from bioconductor); and the output classes
SearchResult and DumpResult.
Each of these classes can be converted from a data.frame
with
as_*
and to a data.frame with as.data.frame
.
As a data.frame, a synteny map must have the following columns:
qseqid - query contig id (e.g. Chr1)
qstart - query interval start
qstop - query interval stop
sseqid - target contig id
sstart - target interval start
sstop - target interval stop
score - score of the syntenic match*
strand - relative orientation
score
can be any numeric value, it will be transformed as specified
by the -x option
It can be from a file with the, where it is required to be TAB-delimited with no header.
The target and query genome lengths files must be TAB-delimited with columns: <name>, <length>
The as_synmap
function converts such a data.frame to a Synmap object.
A Synmap object is a GRangePairs object (from the bioconductor CNEr package)
with socre and strand as meta-columns.
GFF files are used to represent queries that will be mapped against the
synteny map. These can be loaded into GFF objects with read_gff or converted
from data.frames with as_gff. Either way, the resul is a GRange object with
source
, type
, score
, phase
, and attr
meta-columns.
Properly handling boundary cases when mapping requires knowing the length of each contig. This information is provided by the biodonductor Seqinfo objects. The most important information these objects hold is the name and length of all contigs in the assembly. This data can be stored in a two-column data.frame (or headerless, TAB-delimited file).
Holds the results of a successful search
run. The class inherits from GRangePairs.
Holds the results of the dump
command. The class inherits from GRangePairs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.