A FASTA file that contains multiple sequence data. (一个包含有多条序列数据的FASTA文件)
FastaFile
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | 构造函数会自动移除空值对象 |
| Distinct | 1 | Get a new fasta2 object which is been clear the duplicated records in the collection. |
| Read | 1 | Load the fasta file from the local filesystem. |
| LoadNucleotideData | 1 | 加载一个FASTA序列文件并检查其中是否全部为核酸序列数据,假若不是,则会将该序列移除 |
| DocParser | 1 | 当lines参数为空的时候,会返回一个空集合而非返回空值 |
| ParseDocument | 1 | Try parsing a fasta file object from the text file content doc |
| QueryAny | 1 | |
| Query | 2 | |
| Select | 1 | Where Selector |
| Save | 3 | Save the fasta file into the local filesystem. |
| Generate | 1 | 在写入数据到文本文件之前需要将目标对象转换为文本字符串 |
| AppendToFile | 1 | |
| Match | 1 | 使用正则表达式来搜索在序列中含有特定模式的序列对象 |
| SaveData | 1 | 可以使用这个方法来作为通用的继承与fasta对象的集合的序列的数据保存工作 |
| Clone | 1 | 完完全全的按值複製 |
| SingleSequence | 1 | 文件之中是否只包含有一条序列? |
| op_Implicit | 1 | |
| AsKSource | 1 | |
| AddRange | 1 | |
| ToUpper | 1 | |
| ToLower | 1 | |
| Split | 1 | |
| Take | 1 | |
| Write | 1 | |
| ToString | 1 | |
| GetEnumerator | 1 | |
| GetEnumerator1 | 1 | |
| Add | 1 | |
| Clear | 1 | |
| Contains | 1 | |
| CopyTo | 1 | |
| Remove | 1 | |
| IndexOf | 1 | |
| Insert | 1 | |
| RemoveAt | 1 | |
| SaveData | 1 | |
| op_Addition | 1 | |
| op_GreaterThan | 1 | |
| op_LessThan | 1 | |
| IsValidFastaFile | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| FilePath | 1 | 本FASTA数据文件对象的文件位置 |
| Count | 1 | |
| IsReadOnly | 1 | |
| Item | 1 | |
| MimeType | 1 |
04 Members
IEnumerable(Of FastaSeq))构造函数会自动移除空值对象
| Name | Type | Description |
|---|---|---|
data | IEnumerable(Of FastaSeq) | - |
Get a new fasta2 object which is been clear the duplicated records in the collection. (获取去除集合中的重复的记录新列表,原有列表中数据未被改变)
String, Boolean, Char)Load the fasta file from the local filesystem.
| Name | Type | Description |
|---|---|---|
file | String | - |
strict | Boolean | 当参数为真的时候,目标文件不存在则会抛出错误,反之则会返回一个空文件 |
deli | Char | Delimiter character for tokens in fasta sequence header. |
String, Boolean)加载一个FASTA序列文件并检查其中是否全部为核酸序列数据,假若不是,则会将该序列移除
| Name | Type | Description |
|---|---|---|
path | String | - |
IEnumerable(Of String), String)当lines参数为空的时候,会返回一个空集合而非返回空值
| Name | Type | Description |
|---|---|---|
lines | IEnumerable(Of String) | - |
deli | String | - |
String, Char())Try parsing a fasta file object from the text file content doc
| Name | Type | Description |
|---|---|---|
doc | String | The file data content in the fasta file, not the path of the fasta file! |
String, CompareMethod)| Name | Type | Description |
|---|---|---|
KeyWord | String | A key string that to search in this fasta file. |
CaseSensitive | CompareMethod | For text compaired method that not case sensitive, otherwise in the method od binary than case sensitive. |
String, CompareMethod)| Name | Type | Description |
|---|---|---|
KeyWord | String | A key string that to search in this fasta file. |
CaseSensitive | CompareMethod | For text compaired method that not case sensitive, otherwise in the method od binary than case sensitive. |
Func(Of FastaSeq, Boolean))Where Selector
| Name | Type | Description |
|---|---|---|
prediction | Func(Of FastaSeq, Boolean) | - |
String, Encoding)Save the fasta file into the local filesystem.
this function will split sequence data by 60 chars per line
| Name | Type | Description |
|---|---|---|
Path | String | - |
encoding | Encoding | 不同的程序会对这个由要求,例如meme程序在linux系统之中要求序列文件为unicode编码格式而windows版本的meme程序则要求ascii格式 |
Int32, String, String, Encodings)Save the fasta file into the local filesystem.
| Name | Type | Description |
|---|---|---|
Path | Int32 | - |
encoding | String | 不同的程序会对这个由要求,例如
|
Int32, String, String, Encoding)Save the fasta file into the local filesystem.
| Name | Type | Description |
|---|---|---|
path | Int32 | the file path for save the fasta sequence data |
encoding | String | 不同的程序会对这个由要求,例如meme程序在linux系统之中要求序列文件为unicode编码格式而windows版本的meme程序则要求ascii格式 |
Int32, String)在写入数据到文本文件之前需要将目标对象转换为文本字符串
String)| Name | Type | Description |
|---|---|---|
file | String | The target FASTA file that to append this FASTA sequences.(将要拓展这些FASTA序列的目标FASTA文件) |
String, RegexOptions)使用正则表达式来搜索在序列中含有特定模式的序列对象
| Name | Type | Description |
|---|---|---|
regxText | String | the regular expression pattern for matches of the fasta sequence data |
IEnumerable(Of ``0), String, Encodings)可以使用这个方法来作为通用的继承与fasta对象的集合的序列的数据保存工作
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
data | IEnumerable(Of ``0) | - |
path | String | - |
encoding | Encodings | - |
完完全全的按值複製
String)文件之中是否只包含有一条序列?
| Name | Type | Description |
|---|---|---|
path$ | String | - |
本FASTA数据文件对象的文件位置
Count和Item属性可以兼容R#脚本的索引语法
String)IEnumerable(Of FastaSeq))String)String, Int32, CompareMethod)IEnumerable(Of String), CompareMethod)TextWriter, Int32, String)Int32)Int32, FastaSeq)Int32)IEnumerable(Of T), String, Encodings)String)String)String)