Description Usage Arguments Details Value Author(s)
Remove linker and adapter sequences from a vector of sequences.
1 |
seqs |
a vector of sequences in standard IUB/IUPAC nucleic acid codes |
adapters |
vector containing sequences to cut from seqs |
min.len |
Minimum length of output sequences |
do.rc |
Look for reverse complement of adapters as well |
eval |
expectation value threshold of a match to adapter sequence |
The function aligns the input sequences to the adapter seqences using Blast and removes all matches from the sequences. All remaining parts of the sequences which have a length of min.len or more are output.
A new vector of sequences. The names of sequences are equal the names of the input sequences if the sequence is unchanged. If the sequence contains the adapter, the output sequence(s) are have the name of the original sequence with a part number attached (e.g. EST_ABC with an adapter somewhere in the middle will become EST_ABC_p1, EST_ABC_p2).
Wim de Leeuw
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.