blockToAlign | R Documentation |
Convert blocks from blat into alignment
blockToAlign(seqs, tSeqs, qStarts, tStarts, sizes)
seqs |
vector of sequences |
tSeqs |
vector of target sequences or a single target |
qStarts |
comma separated starts of query matches e.g. from blat or cigarToBlock (1 based) |
tStarts |
comma separated starts of target matches e.g. from blat or cigarToBlock (1 based) |
sizes |
comma separated lengths of matches e.g. from blat or cigarToBlock |
data.frame with sequences aligned in columns qSeq and tSeq
blockToAlign('ABEC','BCD','2,4','1,2','1,1') blockToAlign(c('ABC','CDE'),c('BCD','ABCDE'),c('1,3','1'),c('1,2','3'),c('1,1','3')) blocks<-cigarToBlock(c('3M','2M1I1M'),1:2) blockToAlign( c('ATC','ATGC'), c('ATCT','GATCT'), blocks$qStarts,blocks$tStarts,blocks$sizes )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.