将变异目录分解为变异签名

sigproSS的Python项目详细描述


SigProfilerSingleSample

sigprofilersinglesample允许将一组已知的变异签名归因于单个样本。该工具识别样本中每个签名的活动,并为每个签名分配导致样本中特定突变类型的概率。该工具利用sigprofilermatrixgenerator、sigprofilerextractor和sigprofilerplotting。

安装

在命令行中,请键入以下行:

$pip install sigproSS

从命令行/终端安装所需的参考基因组,如下所示(可用的参考基因组为:grch37、grch38、mm9和mm10):

$ python
>> from SigProfilerMatrixGenerator import install as genInstall
>> genInstall.install('GRCh37')

这将安装人类37号染色体作为参考基因组。你可以安装任意数量的基因组。

打开一个python解释器并导入sigprofilerextractor模块。请参阅函数的示例。

功能

导入数据

Imports the path of example data.

importdata()

Example: 
-------
>>> from sigproSS import spss 
>>> data = spss.importdata()
This "data" variable can be used as a parameter of the first argument of the sigproSS function.

To get help on the parameters and outputs of the "importdata" function, please write down the following line:

>>> help(spss.importdata)

单个样本

Decompose the query samples into the global signatures.

single_sample(vcf, outputdir, exome=False)

Example: 
-------
>>> from sigproSS import spss 
>>> data = spss.importdata()
>>> spss.single_sample(data, "results", ref="GRCh37", exome=False)

To get help on the parameters and outputs of the "importdata" function, please write down the following line:

>>> help(spss.single_sample)

版权所有

作为SigProfiler项目的一部分,本软件及其文档具有2018年版权。SigPrimeReloStudio框架是免费软件,并被分发,希望它是有用的,但没有任何保证;甚至没有隐含的保证适销性或适合特定用途。有关更多详细信息,请参阅GNU通用公共许可证。

联系信息

请在m0islam.ucsd.edu向S M Ashiqul Islam(Mishu)提出任何疑问或错误报告

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
不同窗口中的java视图   java创建SQL插入语句到CSV文件   java效率检查:Opengl动画代码   在clojure中处理Java可选<T>   java理解camel中的输入/输出交换模式行为   对于使用jpackage构建的应用程序,java LSOpenURLsWithRole()失败,错误为10810   多线程Java同步:多重倒计时闩锁   java哪个类应该做这项工作?   java在运行时出现问题。getRuntime()。执行官   java我们不能在GAE中使用集合或集合作为返回类型吗?   amazon web服务返回类型与RequestHandler<Object,String>不兼容。JAVA中的HandlerRequest(对象、上下文)   如何在Java中使用ExecutorService设置任务的超时时间