{ "info": { "author": "Nolan", "author_email": "innovate.invent@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "clip\n----\n\nClips overlapping regions in read mates of SAM/BAM files.\n\nTo install: ``pip install clipoverlap``\nOr::\n\n git clone git@github.com:innovate-invent/clip.git\n cd clip\n python3 setup.py install\n\nTo run::\n\n $ clip -h\n Clip Overlap v1.0\n Clip overlapping reads from SAM/BAM/CRAM file\n Use: clip [-tmabcosv] [input file path | < infile > outfile] [output file path]\n If no paths are given stdin and stdout are used.\n -t # Threads to use for processing (Default=1)\n -m # Maximum template length guaranteeing no read overlap (Default=1000)\n -a Alternate strand being clipped to avoid strand bias (RAM intensive)\n -b Trim tails of reads that extend past end of mate. Used to trim barcode remnants.\n -c Clip only, do not merge clipped region into mate.\n -o [sbuc] Output format: s=SAM (Default), b=BAM compressed, bu=BAM uncompressed, c=CRAM\n -s Maintain input order (High depth regions may fill RAM), if not set will output in arbitrary order (Minimal RAM)\n -v Verbose status output\n\nYou may notice if you just run ``clip`` with no parameters it will just sit there doing nothing.\nThat is because the default is to listen to stdin for input.\n\nNotes:\n------\n``clip`` uses a minimum of two subprocesses regardless of the ``-t`` option.\n\n``-a`` will alternate between clipping the tail of the left most strand and clipping the head of the right most strand.\nThis is to avoid possible strand bias later in a processing pipeline.\n\nIf you are processing reads that had barcodes ligated and removed the 5' barcode in a previous step (See `ProDuSe:trim `_)\nthen use the ``-b`` option to remove any possible 3' barcode sequence that would be appended if sequencing ran to the end of the molecule.\n\nUsing ``-s`` and ``-a`` together will force ``clip`` to try and sort by start reference coordinate.\nIf unsorted data is the input then this could potentially run out of RAM.\n\nMerge Algorithm\n---------------\nThe mate read cigars are assumed to align 1-1 with an offset determined by the difference in the reference start positions.\n\n* If ``-c`` is unset then ``clip`` will retain the highest quality base at a given position in the overlapping region of the mate pairs.\n* If the base qualities are equal then it will keep the base that does not match the reference.\n* If base qualities are equal and both bases are different variants, then the quality score is set to 3 (3 = Phred 50% probability of either base).\n* If the operations between the aligned cigars do not match then the operations from the mate with the lowest alignment cost are retained.\n\nThe alignment cost is calculated for the overlapping region only.\nThe cost is summed using these values:\n\n=========== ==========================\nOperation Value\n=========== ==========================\nM, X, =, N -1\nI 6 to start, +1 to lengthen\nD 3 to start, +1 to lengthen\n=========== ==========================\n\nTODO:\n-----\nSignificant speed and memory optimisations are planned.\nNeed to eliminate the pysam dependency first.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/innovate-invent/clip", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "clipoverlap", "package_url": "https://pypi.org/project/clipoverlap/", "platform": "", "project_url": "https://pypi.org/project/clipoverlap/", "project_urls": { "Homepage": "https://github.com/innovate-invent/clip" }, "release_url": "https://pypi.org/project/clipoverlap/1.0.9/", "requires_dist": [ "pysam", "CigarIterator" ], "requires_python": "", "summary": "Clips overlapping regions in read mates of SAM/BAM files.", "version": "1.0.9" }, "last_serial": 3172212, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "9de43f34d33e28bd797301f2cd496bf9", "sha256": "77e654c353b421acdb9f9931282334bde8c0db844917417d18afdc83281833eb" }, "downloads": -1, "filename": "clipoverlap-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9de43f34d33e28bd797301f2cd496bf9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10087, "upload_time": "2017-08-30T23:31:18", "url": "https://files.pythonhosted.org/packages/16/bd/b8d63c959f571c3ea43c8dff0245fba2fc44009896c65fe7cc5e05a735fb/clipoverlap-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0680f25e9602638eb9acef251255dc64", "sha256": "9bb46050a4ae70fe0e54e76a0a9e1244f4eac8df601d2b6ea7a05e072ff2bbc9" }, "downloads": -1, "filename": "clipoverlap-1.0.2.tar.gz", "has_sig": false, "md5_digest": "0680f25e9602638eb9acef251255dc64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8275, "upload_time": "2017-08-30T23:31:21", "url": "https://files.pythonhosted.org/packages/08/ad/923dd2dbdf1013d06f43bba6eb65eea3d2209fc5fef602831d418408bdd0/clipoverlap-1.0.2.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "e58fc82d20afecfc9f0e8aa42a0d0a15", "sha256": "6184b39e25cda63c8da637e39e24b7bd75433eb7369c5abbc56310f00c8072c2" }, "downloads": -1, "filename": "clipoverlap-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "e58fc82d20afecfc9f0e8aa42a0d0a15", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10081, "upload_time": "2017-08-31T03:00:10", "url": "https://files.pythonhosted.org/packages/c9/6d/914c4b8024b69c8bd14ebcd0107944e0ac033b53e43d8bc0960fb09418c1/clipoverlap-1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d5592a28303a8f56151028a434d2b05f", "sha256": "41a0561072a88a9ae99e95e4063c9a64884a4cb023b4fde680fc96a3106035ee" }, "downloads": -1, "filename": "clipoverlap-1.0.5.tar.gz", "has_sig": false, "md5_digest": "d5592a28303a8f56151028a434d2b05f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8261, "upload_time": "2017-08-31T03:00:12", "url": "https://files.pythonhosted.org/packages/40/fe/82887f599955d18da0e9bed61a6d735c97aaf0598acba2a3b3ea5e4f1ce2/clipoverlap-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "d005fb1bc0bdb084046ae29449b221e2", "sha256": "8efa7c997901eb97baba5f7d5148ee9b9e953bbbaba3b566da2855b7f8e9910f" }, "downloads": -1, "filename": "clipoverlap-1.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "d005fb1bc0bdb084046ae29449b221e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10298, "upload_time": "2017-08-31T19:26:23", "url": "https://files.pythonhosted.org/packages/3d/ff/310bb6b396b290fee3ef1f803709d1d11fdb052e29102f7f6460784c2b6d/clipoverlap-1.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd77c0544c09a7ba4b2b2bc3370ca116", "sha256": "c55840cfe29bdcb17622448c1875ee9a908aac2d48ce2010a4491c3074fb19bd" }, "downloads": -1, "filename": "clipoverlap-1.0.6.tar.gz", "has_sig": false, "md5_digest": "cd77c0544c09a7ba4b2b2bc3370ca116", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8480, "upload_time": "2017-08-31T19:26:25", "url": "https://files.pythonhosted.org/packages/c7/65/bea699c6dad1ea5e3718b5dc1a489d209857ea4e5fe4a373d812334404ce/clipoverlap-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "2509c977034f506cf4dd769e176f8cf0", "sha256": "52d6584100d3437894d59d77bb0ca85b07e3751d885420b823ba8b082942c920" }, "downloads": -1, "filename": "clipoverlap-1.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "2509c977034f506cf4dd769e176f8cf0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10318, "upload_time": "2017-08-31T20:07:54", "url": "https://files.pythonhosted.org/packages/a0/42/98f411064dc6c88fc006e7ceed9323ef78ecae5d7a1f788e63eb48abd0b4/clipoverlap-1.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cbfde45db99b686e16b4aa435c8365f7", "sha256": "b84cf8756834ba1ffb41ad06692fb9ca04cd1a9b86a6d2c228fa61d6be35958b" }, "downloads": -1, "filename": "clipoverlap-1.0.7.tar.gz", "has_sig": false, "md5_digest": "cbfde45db99b686e16b4aa435c8365f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8486, "upload_time": "2017-08-31T20:07:57", "url": "https://files.pythonhosted.org/packages/a2/74/ff342fbcd8cb464bb3b090b4e058ec4675925babd24cc6e5c88f796c7e1c/clipoverlap-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "2f5c439d65efd839a8498dc43c012e48", "sha256": "490fad215f33300cdcccda7a56a01e4326c0bae784e1631dab005fe286e9f4f7" }, "downloads": -1, "filename": "clipoverlap-1.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "2f5c439d65efd839a8498dc43c012e48", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10329, "upload_time": "2017-08-31T20:32:34", "url": "https://files.pythonhosted.org/packages/ea/9a/9b47d59519e38736e79d9d86da81a2baf99cd8d7352b605b2157576c071a/clipoverlap-1.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "97a9cf03d71b553a8311fb6cc155ae2b", "sha256": "b3a2a961147227594e85bf966e1a40c328f7b1510fe23a4a9868b2bf9d180c41" }, "downloads": -1, "filename": "clipoverlap-1.0.8.tar.gz", "has_sig": false, "md5_digest": "97a9cf03d71b553a8311fb6cc155ae2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8497, "upload_time": "2017-08-31T20:32:35", "url": "https://files.pythonhosted.org/packages/33/06/521a21a21466edd00c37fd4777682b0a2e18eb5af12b9614dc77008df13b/clipoverlap-1.0.8.tar.gz" } ], "1.0.9": [ { "comment_text": "", "digests": { "md5": "9846081a7f4bbe6a3da18712844fdfd3", "sha256": "9b8e9bead4d61cdc1f13d3711cc1f848e600715d903cedd204f48d17296bf7fc" }, "downloads": -1, "filename": "clipoverlap-1.0.9-py3-none-any.whl", "has_sig": false, "md5_digest": "9846081a7f4bbe6a3da18712844fdfd3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13484, "upload_time": "2017-09-13T20:57:57", "url": "https://files.pythonhosted.org/packages/87/f7/d5c5c922e42afe8581b2b28255cb1922bb6a21150c7a901a85f23daa8bfa/clipoverlap-1.0.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "71cbd039d648d3c74d78581f1f6ba241", "sha256": "20064aa36ddfb2c4faaae7f147f1a93853ab67b9690bc65701ec754db5786681" }, "downloads": -1, "filename": "clipoverlap-1.0.9.tar.gz", "has_sig": false, "md5_digest": "71cbd039d648d3c74d78581f1f6ba241", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11293, "upload_time": "2017-09-13T20:57:59", "url": "https://files.pythonhosted.org/packages/a3/e3/bfa31d87a95f2e6f1e12656db695d5461378468ec9fdad789b114e84f805/clipoverlap-1.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9846081a7f4bbe6a3da18712844fdfd3", "sha256": "9b8e9bead4d61cdc1f13d3711cc1f848e600715d903cedd204f48d17296bf7fc" }, "downloads": -1, "filename": "clipoverlap-1.0.9-py3-none-any.whl", "has_sig": false, "md5_digest": "9846081a7f4bbe6a3da18712844fdfd3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13484, "upload_time": "2017-09-13T20:57:57", "url": "https://files.pythonhosted.org/packages/87/f7/d5c5c922e42afe8581b2b28255cb1922bb6a21150c7a901a85f23daa8bfa/clipoverlap-1.0.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "71cbd039d648d3c74d78581f1f6ba241", "sha256": "20064aa36ddfb2c4faaae7f147f1a93853ab67b9690bc65701ec754db5786681" }, "downloads": -1, "filename": "clipoverlap-1.0.9.tar.gz", "has_sig": false, "md5_digest": "71cbd039d648d3c74d78581f1f6ba241", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11293, "upload_time": "2017-09-13T20:57:59", "url": "https://files.pythonhosted.org/packages/a3/e3/bfa31d87a95f2e6f1e12656db695d5461378468ec9fdad789b114e84f805/clipoverlap-1.0.9.tar.gz" } ] }