Blastn Mapping for fastaq
BlastnMapping
00 Remarks
BLAST word-size
Length of an exact sequence match, as start region for the final alignment
blastn -query genes.ffn -subject genome.fna -word_size 11
A BLAST search starts With finding a perfect sequence match Of length given by -word_size. This initial region Of an exact sequence match Is Then extended In both direction allowing gaps And substitutions based On the scoring thresholds.
Changing the initial word-size can help To find more, but less accurate hits; Or To limit the results To almost perfect hits.
- Decreasing the word-size will increase the number Of detected homologous sequences, but hits
can include alignments Of higher fragmentation due To gaps And substitutions (example: search for homologous genes between distant species, see also: -task blastn)
- Increasing the word-size will give less hits As it requires a longer continuous regions Of
exact match. If the word-size Is chosen To be almost the size Of the query, BLAST will search For almost exact matches (example: search for location of gene sequences in the original genome of the gene)
For Short sequences, word-size must be less than half the query length, otherwise reliable hits can be missed.
Default word-sizes
- nucleotide sequence search blastn With Default megablast (bastn):
-word_size 28 - nucleotide sequence search blastn only (bastn -task blastn):
-word_size 11 - amino acid search (blastp):
-word_size 3
Setting the word-size To a very low value (-word_size 5) makes a blastn search very slow.
如果做motif位点搜索,因为motif序列通常比较短,并且有些区域差异很大,所以word size可以设置的比较小
01 Syntax
02 Properties
| Name | Overloads | Summary |
|---|---|---|
| ReadQuery | 1 | The name of the reads query |
| Reference | 1 | The name of the reference genome sequence. |
| QueryLength | 1 | Length of BlastnMapping.ReadQuery |
| Score | 1 | Score(bits) |
| RawScore | 1 | Score(Raw) |
| identitiesValue | 1 | Identities(%) |
| gapsValue | 1 | Gaps(%) |
| ReferenceStrand | 1 | 在进行装配的时候是以基因组上面的链方向以及位置为基准的 |
| Unique | 1 | Unique?(这个属性值应该从blastn日志之中导出mapping数据的时候就执行了的) |
| PerfectAlignment | 1 | Perfect? |
| Data | 1 | 不存在的键名会返回空值 |
03 Members
The name of the reads query
The name of the reference genome sequence.
Length of BlastnMapping.ReadQuery
Score(bits)
Score(Raw)
Identities(%)
Gaps(%)
在进行装配的时候是以基因组上面的链方向以及位置为基准的
Unique?(这个属性值应该从blastn日志之中导出mapping数据的时候就执行了的)
Perfect?
String)不存在的键名会返回空值
| Name | Type | Description |
|---|---|---|
key$ | String | - |