Description Usage Arguments Value To do Examples
Read a fasta file and write back a fasta file keeping only sequences with less than max_ambig and between min and max length. The file name is changed from xxx.fas to xxx.filtered.fas. Prints also the number of sequences in and out.
1 2 3 4 5 6 7 | fasta_filter(
file_name,
min_length = 100,
max_length = 10000,
type = "AA",
max_ambig = 5
)
|
file_name |
Name the input fasta file |
min_length |
Minimum length of sequences to keep |
max_length |
Maximum length of sequences to keep |
type |
"DNA" or "AA" |
max_ambig |
Maximum number of ambiguites |
TRUE if it terminates OK
Nothing =)
1 | fasta_filter("protein.faa", min_length=100, max_length=10000, type="AA", max_ambig=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.