packClust | R Documentation |
Cluster potential pack-TYPE elements by sequence
similarity. Resulting groups may be aligned with
packAlign
, or the clusters may be
analysed with tirClust
packClust( packMatches, Genome, identity = 0.6, threads = 1, identityDefinition = 2, maxWildcards = 0.05, strand = "both", saveFolder = NULL, vSearchPath = "vsearch" )
packMatches |
A dataframe of potential Pack-TYPE transposable elements,
in the format given by |
Genome |
A DNAStringSet object containing sequences referred to
in |
identity |
The sequence identity of two transposable elements in
|
threads |
The number of threads to be used by VSEARCH. |
identityDefinition |
The pairwise identity definition used by VSEARCH. Defaults to 2, the standard VSEARCH definition. |
maxWildcards |
The maximal allowable proportion of wildcards in the
sequence of each match (defaults to |
strand |
The strand direction (+, - or *) to be clustered. |
saveFolder |
The folder to save output files (uc, blast6out, FASTA) |
vSearchPath |
When the package is run on windows systems, the location of the VSEARCH executable file must be given; this should be left as default on Linux/MacOS systems. |
Saves cluster information, including a uc
and
blast6out
file, to the specified location. Returns
the given packMatches
dataframe with an additional
column, cluster
, containing cluster IDs.
In order to cluster sequences using VSEARCH, the executable file must first be installed.
Jack Gisby
VSEARCH may be downloaded from https://github.com/torognes/vsearch. See https://www.ncbi.nlm.nih.gov/pubmed/27781170 for further information.
tirClust
, packAlign
,
readBlast
, readUc
,
filterWildcards
, packSearch
data(arabidopsisThalianaRefseq) data(packMatches) # packClust run on a Linux/MacOS system ## Not run: packClust(packMatches, Genome) ## End(Not run) # packClust run on a Windows system ## Not run: packClust(packMatches, Genome, vSearchPath = "path/to/vsearch/vsearch.exe") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.