https://github.com/PacificBiosciences/GenomicConsensus

GenomicConsensus 是pacbio开发的,我个人非常不喜欢pacbio开发的工具,很难用。

安装这个GenomicConsensus也是废了我快半条老命。

这个工具的目的:Compute genomic consensus and call variants relative to the reference.

就是用一些reads来对最终的ref来进行纠错,这个模型适用性比较大,可以用在各个场合,尤其是我们在开发一些工具时,可以直接将这个嵌入到我们的工具中,减少开发量。

./bin/arrow -h
usage: variantCaller [-h] [--version] [--emit-tool-contract]
[--resolved-tool-contract RESOLVED_TOOL_CONTRACT]
[--log-file LOG_FILE]
[--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL} | --debug | --quiet | -v]
--referenceFilename REFERENCEFILENAME -o OUTPUTFILENAMES
[-j NUMWORKERS] [--minConfidence MINCONFIDENCE]
[--minCoverage MINCOVERAGE]
[--noEvidenceConsensusCall {nocall,reference,lowercasereference}]
[--coverage COVERAGE] [--minMapQV MINMAPQV]
[--referenceWindow REFERENCEWINDOWSASSTRING]
[--alignmentSetRefWindows]
[--referenceWindowsFile REFERENCEWINDOWSASSTRING]
[--barcode _BARCODE] [--readStratum READSTRATUM]
[--minReadScore MINREADSCORE] [--minSnr MINHQREGIONSNR]
[--minZScore MINZSCORE] [--minAccuracy MINACCURACY]
[--algorithm {quiver,arrow,plurality,poa,best}]
[--parametersFile PARAMETERSFILE]
[--parametersSpec PARAMETERSSPEC]
[--maskRadius MASKRADIUS] [--maskErrorRate MASKERRORRATE]
[--pdb] [--notrace] [--pdbAtStartup] [--profile]
[--dumpEvidence [{variants,all,outliers}]]
[--evidenceDirectory EVIDENCEDIRECTORY] [--annotateGFF]
[--reportEffectiveCoverage] [--diploid]
[--queueSize QUEUESIZE] [--threaded]
[--referenceChunkSize REFERENCECHUNKSIZE]
[--fancyChunking] [--simpleChunking]
[--referenceChunkOverlap REFERENCECHUNKOVERLAP]
[--autoDisableHdf5ChunkCache AUTODISABLEHDF5CHUNKCACHE]
[--aligner {affine,simple}] [--refineDinucleotideRepeats]
[--noRefineDinucleotideRepeats] [--fast]
[--skipUnrecognizedContigs]
inputFilename Compute genomic consensus and call variants relative to the reference. optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
--emit-tool-contract Emit Tool Contract to stdout (default: False)
--resolved-tool-contract RESOLVED_TOOL_CONTRACT
Run Tool directly from a PacBio Resolved tool contract
(default: None)
--log-file LOG_FILE Write the log to file. Default(None) will write to
stdout. (default: None)
--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
Set log level (default: WARN)
--debug Alias for setting log level to DEBUG (default: False)
--quiet Alias for setting log level to CRITICAL to suppress
output. (default: False)
-v, --verbose Set the verbosity level. (default: None) Basic required options:
inputFilename The input cmp.h5 or BAM alignment file
--referenceFilename REFERENCEFILENAME, --reference REFERENCEFILENAME, -r REFERENCEFILENAME
The filename of the reference FASTA file (default:
None)
-o OUTPUTFILENAMES, --outputFilename OUTPUTFILENAMES
The output filename(s), as a comma-separated
list.Valid output formats are .fa/.fasta, .fq/.fastq,
.gff, .vcf (default: []) Parallelism:
-j NUMWORKERS, --numWorkers NUMWORKERS
The number of worker processes to be used (default: 1) Output filtering:
--minConfidence MINCONFIDENCE, -q MINCONFIDENCE
The minimum confidence for a variant call to be output
to variants.{gff,vcf} (default: 40)
--minCoverage MINCOVERAGE, -x MINCOVERAGE
The minimum site coverage that must be achieved for
variant calls and consensus to be calculated for a
site. (default: 5)
--noEvidenceConsensusCall {nocall,reference,lowercasereference}
The consensus base that will be output for sites with
no effective coverage. (default: lowercasereference) Read selection/filtering:
--coverage COVERAGE, -X COVERAGE
A designation of the maximum coverage level to be used
for analysis. Exact interpretation is algorithm-
specific. (default: 100)
--minMapQV MINMAPQV, -m MINMAPQV
The minimum MapQV for reads that will be used for
analysis. (default: 10)
--referenceWindow REFERENCEWINDOWSASSTRING, --referenceWindows REFERENCEWINDOWSASSTRING, -w REFERENCEWINDOWSASSTRING
The window (or multiple comma-delimited windows) of
the reference to be processed, in the format refGroup
:refStart-refEnd (default: entire reference).
(default: None)
--alignmentSetRefWindows
The window (or multiple comma-delimited windows) of
the reference to be processed, in the format refGroup
:refStart-refEnd will be pulled from the alignment
file. (default: False)
--referenceWindowsFile REFERENCEWINDOWSASSTRING, -W REFERENCEWINDOWSASSTRING
A file containing reference window designations, one
per line (default: None)
--barcode _BARCODE Only process reads with the given barcode name.
(default: None)
--readStratum READSTRATUM
A string of the form 'n/N', where n, and N are
integers, 0 <= n < N, designating that the reads are
to be deterministically split into N strata of roughly
even size, and stratum n is to be used for variant and
consensus calling. This is mostly useful for Quiver
development. (default: None)
--minReadScore MINREADSCORE
The minimum ReadScore for reads that will be used for
analysis (arrow-only). (default: 0.65)
--minSnr MINHQREGIONSNR
The minimum acceptable signal-to-noise over all
channels for reads that will be used for analysis
(arrow-only). (default: 3.75)
--minZScore MINZSCORE
The minimum acceptable z-score for reads that will be
used for analysis (arrow-only). (default: -3.5)
--minAccuracy MINACCURACY
The minimum acceptable window-global alignment
accuracy for reads that will be used for the analysis
(arrow-only). (default: 0.82) Algorithm and parameter settings:
--algorithm {quiver,arrow,plurality,poa,best}
--parametersFile PARAMETERSFILE, -P PARAMETERSFILE
Parameter set filename (such as ArrowParameters.json
or QuiverParameters.ini), or directory D such that
either D/*/GenomicConsensus/QuiverParameters.ini, or
D/GenomicConsensus/QuiverParameters.ini, is found. In
the former case, the lexically largest path is chosen.
(default: None)
--parametersSpec PARAMETERSSPEC, -p PARAMETERSSPEC
Name of parameter set (chemistry.model) to select from
the parameters file, or just the name of the
chemistry, in which case the best available model is
chosen. Default is 'auto', which selects the best
parameter set from the alignment data (default: auto)
--maskRadius MASKRADIUS
Radius of window to use when excluding local regions
for exceeding maskMinErrorRate, where 0 disables any
filtering (arrow-only). (default: 3)
--maskErrorRate MASKERRORRATE
Maximum local error rate before the local region
defined by maskRadius is excluded from polishing
(arrow-only). (default: 0.7) Verbosity and debugging/profiling:
--pdb Enable Python debugger (default: False)
--notrace Suppress stacktrace for exceptions (to simplify
testing) (default: False)
--pdbAtStartup Drop into Python debugger at startup (requires ipdb)
(default: False)
--profile Enable Python-level profiling (using cProfile).
(default: False)
--dumpEvidence [{variants,all,outliers}], -d [{variants,all,outliers}]
--evidenceDirectory EVIDENCEDIRECTORY
--annotateGFF Augment GFF variant records with additional
information (default: False)
--reportEffectiveCoverage
Additionally record the *post-filtering* coverage at
variant sites (default: False) Advanced configuration options:
--diploid Enable detection of heterozygous variants
(experimental) (default: False)
--queueSize QUEUESIZE, -Q QUEUESIZE
--threaded, -T Run threads instead of processes (for debugging
purposes only) (default: False)
--referenceChunkSize REFERENCECHUNKSIZE, -C REFERENCECHUNKSIZE
--fancyChunking Adaptive reference chunking designed to handle
coverage cutouts better (default: True)
--simpleChunking Disable adaptive reference chunking (default: True)
--referenceChunkOverlap REFERENCECHUNKOVERLAP
--autoDisableHdf5ChunkCache AUTODISABLEHDF5CHUNKCACHE
Disable the HDF5 chunk cache when the number of
datasets in the cmp.h5 exceeds the given threshold
(default: 500)
--aligner {affine,simple}, -a {affine,simple}
The pairwise alignment algorithm that will be used to
produce variant calls from the consensus (Quiver
only). (default: affine)
--refineDinucleotideRepeats
Require quiver maximum likelihood search to try one
less/more repeat copy in dinucleotide repeats, which
seem to be the most frequent cause of suboptimal
convergence (getting trapped in local optimum) (Quiver
only) (default: True)
--noRefineDinucleotideRepeats
Disable dinucleotide refinement (default: True)
--fast Cut some corners to run faster. Unsupported! (default:
False)
--skipUnrecognizedContigs
Do not abort when told to process a reference window
(via -w/--referenceWindow[s]) that has no aligned
coverage. Outputs emptyish files if there are no
remaining non-degenerate windows. Only intended for
use by smrtpipe scatter/gather. (default: False)

  

待续~~

GenomicConsensus (quiver, arrow)使用方法 | 序列 consensus的更多相关文章

  1. guxh的python笔记八:特殊方法

     1,类的特殊方法  新建一个类,本章内容中的特殊方法如果不创建类或新增方法,默认使用的就是下面的类: class Foo: """this is Foo"&q ...

  2. Struct2_使用Ajax调用Action方法并返回值

    一.Login.jsp 1.<head>引入jquery: <script type="text/javascript" src="http://aja ...

  3. 关于ajaxfileupload的使用方法以及一些问题

    使用问题: 1.ajax-fileupload.js handleError 异常 由于本来handleError方法是jquery的方法,但jquery到了某个版本这个方法就去掉了没有了 所以最简单 ...

  4. 71、salesforce的JSON方法

    List<Merchandise__c> merchandise = [select Id,Name,Price__c,Quantity__c from Merchandise__c li ...

  5. 三代PacBio reads纠错 - 专题

    三代纠错的重要性不言而喻,三代的核心优势就是长,唯一的缺点就是错误率高,但好就好在错误是随机分布的,可以通过算法解决,这也就是为什么现在有这么多针对三代开发的纠错工具. 纠错和组装是分不开的,纠错就是 ...

  6. Raft

    http://thesecretlivesofdata.com/raft/ https://github.com/coreos/etcd   1 Introduction Consensus algo ...

  7. HTTP超文本传输协议-HTTP/1.1中文版

    摘要 超文本传输协议(HTTP)是一种为分布式,合作式,多媒体信息系统服务,面向应用层的协议.它是一种通用的,不分状态(stateless)的协议,除了诸如名称服务和分布对象管理系统之类的超文本用途外 ...

  8. LINQ to Entities 和LINQ to Objects 的区别

    本文资料来源:http://www.codeproject.com/Articles/246861/LINQ-to-Entities-Basic-Concepts-and-Features) LINQ ...

  9. RFC-2068-http

    本文档规定了互联网社区的标准组协议,并需要讨论和建议以便更加完善.请参考 “互联网官方协议标准”(STD 1)来了解本协议的标准化状态.本协议不限流传发布. 版权声明 Copyright (C) Th ...

随机推荐

  1. django基础 -- 1. 前奏 web框架的本质

    一. http协议 1.请求方法(get和post) 1.GET提交的数据会放在URL之后,也就是请求行里面,以?分割URL和传输数据,参数之间以&相连,如EditBook?name=test ...

  2. 利用Selenium自动化测试android wap页

    http://blogs.360.cn/360qtest/2014/04/01/%E5%88%A9%E7%94%A8selenium%E8%87%AA%E5%8A%A8%E5%8C%96%E6%B5% ...

  3. 集训DAYn——组合数学(1)

    组合 又到了我们信息老师讲数学课了,吼吼吼 然后数学老师中途探望了一下,哇塞塞,然后他看到黑板上的题,微妙的笑了. 排列: 从n个数中有序的选出m个数的方案数是多少?第一个数有n种取法,第二个数有n- ...

  4. Visual Studio Code配置Python开发环境

    1.安装Python插件 在VScode界面按Crtl+Shift+P或者F1 输入ext install 直接安装Python,也就是点击它,然后等待,安装好后会提示你重启 2.配置运行Python ...

  5. facebook api之Access Tokens之Business Manager System User

    Business Manager System User Make programatic, automated actions on ad objects or Pages, or do progr ...

  6. C盘清理

    魔方清理大师 “清理大师”->清理界面 一键清理=>开始扫描=>立刻清理 注册表清理=>开始扫描=>立刻清理 深度清理=>开始扫描=>立刻清理 C:\User ...

  7. 订单BOM、销售BOM、标准BOM

    订单BOM.销售BOM.标准BOM   訂單BOM: 是實際生產時用的BOM, 在標準BOM和銷售BOM基礎上增減物料的BOM銷售BOM: 是為特定客戶設定的BOM, 在主檔數據層次上的BOM, 在生 ...

  8. 《机器学习实战》之k-近邻算法(改进约会网站的配对效果)

    示例背景: 我的朋友海伦一直使用在线约会网站寻找合适自己的约会对象.尽管约会网站会推荐不同的人选,但她并不是喜欢每一个人.经过一番总结,她发现曾交往过三种类型的人: (1)不喜欢的人: (2)魅力一般 ...

  9. geoserver源码学习与扩展——自动发布shapefile图层

    geoserver通过工作空间Workspace-数据源DataStore-图层Layer管理地理数据,这些信息都通过Catalog进行组织和管理,要完成自动发布只需要在Catalog中增加相应的信息 ...

  10. 【二】jquery之基础概念与jquery对象与dom对象的区别及混合使用

    一:jquery基本概念 1.jquery是一个javascript框架,它是一个轻量级的js库 2.当下流行的js库有: jquery MooTools Prototype 3.$(ducoment ...