从变异目录中提取变异签名

new-sigproextractor的Python项目详细描述


sigprofilerextractor

sigprofilerextractor允许从以矩阵格式生成的数据中重新提取变异签名。 该工具识别了操作变异信号的数量、它们在每个样本中的活动以及概率。 对于每一个导致癌症样本中特定突变类型的特征。该工具利用sigprofilermatrix生成器 以及SigProfilerPlotting。

安装

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

$pip install sigproextractor

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

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

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

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

功能

导入数据

Imports the path of example data.

importdata(datatype="matobj")

Example: 
-------
>>> from sigproextractor import sigpro as sig
>>> data = sig.importdata("text")
This "data" variable can be used as a parameter of the "project" argument of the sigProfilerExtractor function.

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

>>> help(sig.importdata)

sigprofilerextractor

Extracts mutational signatures from an array of samples.

sigProfilerExtractor(input_type, out_put, project, refgen="GRCh37", startProcess=1, endProcess=10, totalIterations=8, 
cpu=-1, hierarchy = False, mtype = ["default"],exome = False, indel_extended = False)



Examples
--------

>>> from sigproextractor import sigpro as sig
>>> data = sig.importdata("vcf")
>>> sig.sigProfilerExtractor("vcf", "example_output", data, startProcess=1, endProcess=3)

Wait untill the excecution is finished. The process may a couple of hours based on the size of the data.
Check the current working directory for the "example_output" folder.

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

>>> help(sig.sigProfilerExtractor)

版权所有

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

联系信息

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

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

推荐PyPI第三方库


热门话题
地址簿在地址簿中添加和检查Java中的条目   java在请求范围中存储和检索值   java Android:您能否使用AlertDialog清除数据,以便在启动电子邮件活动后数据不会损坏?   用户和角色的javajpa设计   java为什么mybatis更新和删除不起作用?   在使用swingx jxtreetable进行测试时,java Fest的速度会减慢   如何使用ApachePOI4.0XDDFChartData、XDDFBarChartData生成堆叠条形图;在使用java的excel工作表中,我不想使用jfree   oauth Java执行oAuth1。0具有给定consumerKey、ConsumerCret、accessToken、accessTokenSecret和realm的已验证请求   java TTS OuttanceProgressListener无法正常工作   java if条件在不同的环境中返回不同的值   java Spring Boot应用程序的嵌入式HTTP服务器在哪里?   基于SSL的java SOAP客户端:sun。安全供应商。certpath。SunCertPathBuilderException:找不到请求目标的有效证书路径   java StringBuilder()与StringBuilder(空)与StringBuilder(“”)