内容导航:
1、
unmapped
2、
pysam的使用
1、
unmapped
英:
美:
常用释义:
未绘制地图的
adj.未绘制地图的;地图上未标明的
1、In the example above, the NamedAnswerQuery role has been left
unmapped
so the answer query Web service cannot be used.───在上面的示例中,对NamedAnswerQuery角色没有进行映射,所以不能使用回答查询Web服务。
2、Path represents a directory and is invalid, such as being on an
unmapped
drive, or the directory cannot be found.───path表示一个目录且它是无效的,例如,位于未映射的驱动器上或无法找到目录。
3、Here, one hospital serves an entire region, and basic social infrastructure is largely
unmapped
.───该县只有一家医院,而且其基本社会基础设施也基本未被列入地图。
4、hospital serves an entire region, and basic social infrastructure is largely
unmapped
.───一家医院,而且其基本社会基础设施也基本未被列入地图。
5、Blue regions represent virtual addresses that are mapped to physical memory, whereas white regions are
unmapped
.───图中蓝色区域表示虚拟地址中映射到物理内存的部分,白色区域则是未映射。
6、SourceColumn refers to the
unmapped
column name before any table mappings have been applied.───SourceColumn在应用任何表映射之前将引用未映射的列名。
7、Attempt to map network drive to
unmapped
drive or local drive.───试图将网络驱动器映射到未映射的或本地的驱动器上。
8、to lowercase.so is closed by dlclose and the DLL is
unmapped
from memory.───关闭到lowercase . so的句柄,并且从内存中取消dll映射。
1、unmatched board gmae───无与伦比的董事会GME
2、unmanned───v.使失去男子气质(unman的过去式和过去分词形式);adj.无人的;无人操纵的;被阉割的
3、unmanned aerial vehicle───无人驾驶飞行器
4、unmarked grave───无标记坟墓
5、unmannerly sort───非手工排序
6、barricaded gunman───有路障的持枪歹徒
7、unmarked car───无标记汽车
8、unmatched md───无与伦比的md
9、unmannerly crossword───粗俗的纵横填字游戏
10、unmarried men are best friends───未婚男人是最好的朋友
2、
pysam的使用
samtools是我们比较常用的处理bam文件的软件,但很多关于bam的具体信息,samtools不能给出,比如想获得某个ref位置,每条reads的碱基情况,及对应的readsID;获得比对到参考具体区间的碱基分布矩阵等。
Pysam内置了较多的函数,可以非常灵活的满足,各种个性化的关于bam文件信息的提取。
1 获得pysam.Alignment对象
2 AlignmentFile对象内置方法
计算目标区域内的覆盖度。返回1个4维的array,代表ACGT的覆盖度,而每个维度的array长度为100,里面的数字代表该碱基在各个位置上的覆盖度。
提取比对到目标区域的全部reads,返回的是迭代器,可使用next、for循环访问。reads用的是AlignedSegment对象表示,以下主要说reads的AlignedSengment对象的内置方法
find_introns(self, read_iterator)返回一个字典{(start, stop): count},列出了reads中的intronic sites(cigar字符串中的’N’)
get_index_statistics(self)通过index统计该BAM文件中在各个染色体上mapped/unmapped的reads个数。
get_reference_name(self, tid)
与之对应的是将染色体名称转为数字,即将reference转换成tid
pileup(self, contig=None, start=None, stop=None, region=None, reference=None, end=None, **kwargs)
类似于samtools的pileup操作,返回一个迭代器,每次迭代返回一个位点的PileupColumn对象,该对象的操作在后面进行详细介绍。
get_aligned_pairs(self, matches_only=False, with_seq=False)
展示了query和reference之间的比对情况,如果遇到indel或者skipping的情况,相应的query或者reference会变为None