X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=pysam.git;a=blobdiff_plain;f=pysam%2F__init__.py;h=ec0439f17290876217c610355072aa4f4d074efa;hp=8454f8e4b0739581a463484d1799ba2b2a43a1ad;hb=e1756c41e7a1d7cc01fb95e42df9dd04da2d2991;hpb=ca46ef4ba4a883c57cea62d5bf1bc021f1185109 diff --git a/pysam/__init__.py b/pysam/__init__.py index 8454f8e..ec0439f 100644 --- a/pysam/__init__.py +++ b/pysam/__init__.py @@ -86,31 +86,19 @@ class SamtoolsDispatcher(object): # # import is a python reserved word. SAMTOOLS_DISPATCH = { - # samtools 'documented' commands "view" : ( "view", None ), "sort" : ( "sort", None), - "mpileup" : ( "mpileup", None), - "depth" : ("depth", None), + "samimport": ( "import", None), + "pileup" : ( "pileup", ( (("-c",), Pileup.iterate ), ), ), "faidx" : ("faidx", None), "tview" : ("tview", None), "index" : ("index", None), - "idxstats" : ("idxstats", None), "fixmate" : ("fixmate", None), + "glfview" : ("glfview", None), "flagstat" : ("flagstat", None), "calmd" : ("calmd", None), "merge" : ("merge", None), - "rmdup" : ("rmdup", None), - "reheader" : ("reheader", None), - "cat" : ("cat", None), - "targetcut" : ("targetcut", None), - "phase" : ("phase", None), - # others - "samimport": ( "import", None), - "bam2fq" : ("bam2fq", None), - # obsolete - # "pileup" : ( "pileup", ( (("-c",), Pileup.iterate ), ), ), - - } + "rmdup" : ("rmdup", None) } # instantiate samtools commands as python functions for key, options in SAMTOOLS_DISPATCH.iteritems():