{ "info": { "author": "Tet Woo Lee", "author_email": "developer@twlee.nz", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# filter_illumina_index\n## Filter a Illumina FASTQ file based on index sequence.\n\nReads a Illumina FASTQ file and compares the sequence index in the\n`sample number` position of the sequence identifier to a supplied sequence\nindex. Entries that match the sequence index are filtered into the *filtered\nfile* (if any) and entries that don't match are filtered into the *unfiltered\nfile* (if any). Displays the count of total, filtered and unfiltered reads,\nas well as the number of mismatches found across all reads. Matching tolerating\na certain number of mismatches (`-m` parameter), and gzip compression for input\n(detected on the basis of file extension) and output (specified using `-c`\nparameter) are supported.\n\nFor information on Illumina sequence identifiers in FASTQ files, see: http://support.illumina.com/content/dam/illumina-support/help/BaseSpaceHelp_v2/Content/Vault/Informatics/Sequencing_Analysis/BS/swSEQ_mBS_FASTQFiles.htm\n\n### Usage details\n\n```\nusage: filter_illumina_index [-h] [--version] [-f FILTERED] [-u UNFILTERED] -i\n INDEX [-m MISMATCHES] [-c] [-v]\n inputfile\n\npositional arguments:\n inputfile Input FASTQ file, compression supported\n\noptional arguments:\n -h, --help show this help message and exit\n --version show program's version number and exit\n -f FILTERED, --filtered FILTERED\n Output FASTQ file containing filtered (positive) reads\n (default: None)\n -u UNFILTERED, --unfiltered UNFILTERED\n Output FASTQ file containing unfiltered (negative)\n reads (default: None)\n -m MISMATCHES, --mismatches MISMATCHES\n Maximum number of mismatches to accept (default: 0)\n -c, --compressed Compress output files (note: file extension not\n modified) (default: False)\n -v, --verbose Show verbose output (default: False)\n\nrequired named arguments:\n -i INDEX, --index INDEX\n Sequence index to filter for (default: None)\n```\n\n### Example usage\n\nThe directory `srv` contains example reads in FASTQ and compressed FASTQ format with index `GATCGTGT` and one read with a mismatch.\n\nTo test, run:\n\n`filter_illumina_index srv/example_reads.fastq --index GATCGTGT --filtered var/filtered_reads.fastq --unfiltered var/unfiltered_reads.fastq`\n\nThis will process `srv/example_reads.fastq`, matching to index `GATCGTGT` with no mismatches allowed (default). Reads matching this index will be saved to `var/filtered_reads.fastq` and those not matching this index will be saved to `var/unfiltered_reads.fastq`. In addition, the following output will be displayed:\n\n```\nTotal reads: 30\nFiltered reads: 29\nUnfiltered reads: 1\n Reads with 0 mismatches: 29\n Reads with 1 mismatches: 1\n Reads with 2 mismatches: 0\n Reads with 3 mismatches: 0\n Reads with 4 mismatches: 0\n Reads with 5 mismatches: 0\n Reads with 6 mismatches: 0\n Reads with 7 mismatches: 0\n Reads with 8 mismatches: 0\n```\n\n---\n\n### Additional details\n\n* Author: Tet Woo Lee\n* Copyright: \u00a9 2018 Tet Woo Lee\n* Licence: GPLv3\n* Dependencies: Biopython, tested on v1.72\n\n### Change log\n\nversion 1.0.2 2018-12-19\n: Shows statistics on number of mismatches found\n\nversion 1.0.1 2018-12-19\n: Speed up number of mismatches calculation\n\nversion 1.0 2018-12-14\n: Minor updates for PyPi and conda packaging\n\nversion 1.0.dev1 2018-12-13\n: First working version\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/twlee79/filter_illumina_index", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "filter-illumina-index", "package_url": "https://pypi.org/project/filter-illumina-index/", "platform": "", "project_url": "https://pypi.org/project/filter-illumina-index/", "project_urls": { "Homepage": "https://github.com/twlee79/filter_illumina_index" }, "release_url": "https://pypi.org/project/filter-illumina-index/1.0.2/", "requires_dist": [ "biopython" ], "requires_python": "", "summary": "Filter a Illumina FASTQ file based on index sequence", "version": "1.0.2" }, "last_serial": 4614533, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "0177242259feee89d8e159739b1fc677", "sha256": "5a3de2a3db4690cfc089187b709e5a0c0da64c8e955d0c3e955e79cf9ac5472d" }, "downloads": -1, "filename": "filter_illumina_index-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0177242259feee89d8e159739b1fc677", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 30222, "upload_time": "2018-12-14T00:00:27", "url": "https://files.pythonhosted.org/packages/51/a8/38078b741f50a4af66eb8263c67ad0818d1050b9b92d63bd3511c827dd0a/filter_illumina_index-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "faf40a514d27a82bf84698330b55c2cd", "sha256": "2fa46b6f03bfd353eba170ea88a3f6901e85c8848b3392bae948cebe6ef94488" }, "downloads": -1, "filename": "filter_illumina_index-1.0.tar.gz", "has_sig": false, "md5_digest": "faf40a514d27a82bf84698330b55c2cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16430, "upload_time": "2018-12-14T00:00:28", "url": "https://files.pythonhosted.org/packages/38/5f/d823e113b0ea6e3e4c726ede26affcd0cb9dab5551f11a544362d6f976bb/filter_illumina_index-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "b9c1e98470a9c107fc192686c278f365", "sha256": "4acc84f211874b06131c8d5881e6aa086e8594921e30c97a966050ad4851d819" }, "downloads": -1, "filename": "filter_illumina_index-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b9c1e98470a9c107fc192686c278f365", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 29939, "upload_time": "2018-12-19T00:04:51", "url": "https://files.pythonhosted.org/packages/5d/d7/a9a1407f023ce2931bbb6a0290c3ee10ef0d7f75ce5ab1670d737aa9936c/filter_illumina_index-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5d7396b0274630773b416f41ada42376", "sha256": "398ff4ea90939abcca184de98be480830b578d3dedca94fae144a0072be6dfdd" }, "downloads": -1, "filename": "filter_illumina_index-1.0.1.tar.gz", "has_sig": false, "md5_digest": "5d7396b0274630773b416f41ada42376", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16859, "upload_time": "2018-12-19T00:04:53", "url": "https://files.pythonhosted.org/packages/ef/75/76a396c9a829f118830afa4d5e8cc33c0baa420295f735052e790923915b/filter_illumina_index-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "2dc6f65139d50cd5c6bda5798766bee3", "sha256": "737bdd78d031502278f2706b4a811af1a6b95145dd59717712d90376d49e9f0c" }, "downloads": -1, "filename": "filter_illumina_index-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "2dc6f65139d50cd5c6bda5798766bee3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 30198, "upload_time": "2018-12-19T00:31:11", "url": "https://files.pythonhosted.org/packages/93/7b/e1137bb0d2234f4fbbef7860576e625942c357aa52fd8f4c7068a491f169/filter_illumina_index-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "458c871507f0726f7d2616cbb6dd0e55", "sha256": "70faeda8dacfe1161f79823af03f4f1337b4d8a302a49dba33227674defd2461" }, "downloads": -1, "filename": "filter_illumina_index-1.0.2.tar.gz", "has_sig": false, "md5_digest": "458c871507f0726f7d2616cbb6dd0e55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17148, "upload_time": "2018-12-19T00:31:14", "url": "https://files.pythonhosted.org/packages/82/84/34d7fc4b0ac58436225977a9b8a3078eb8037e277d322204800c84d2e172/filter_illumina_index-1.0.2.tar.gz" } ], "1.0.dev1": [ { "comment_text": "", "digests": { "md5": "d7468bd1f6f999377e922d108144cf85", "sha256": "a30e0f429901729f13390644803d9bf6d98f44f5090a47c3d2a9f47362d84456" }, "downloads": -1, "filename": "filter_illumina_index-1.0.dev1-py3-none-any.whl", "has_sig": false, "md5_digest": "d7468bd1f6f999377e922d108144cf85", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17595, "upload_time": "2018-12-13T06:28:48", "url": "https://files.pythonhosted.org/packages/58/41/ef1f00c47d900decd1784bed418c96716854af0760668e210adf51adf87c/filter_illumina_index-1.0.dev1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "14d104762a858e939c434b92cf1da441", "sha256": "690064b0e143e3359a1d0e5ac025b37c323737615dc4849d6aec6d0591113607" }, "downloads": -1, "filename": "filter_illumina_index-1.0.dev1.tar.gz", "has_sig": false, "md5_digest": "14d104762a858e939c434b92cf1da441", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3916, "upload_time": "2018-12-13T06:28:50", "url": "https://files.pythonhosted.org/packages/e7/f4/7772447b77f22f5e0f9c685e6595fd37eea3038dd9346a96db9b1ceb1a8d/filter_illumina_index-1.0.dev1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2dc6f65139d50cd5c6bda5798766bee3", "sha256": "737bdd78d031502278f2706b4a811af1a6b95145dd59717712d90376d49e9f0c" }, "downloads": -1, "filename": "filter_illumina_index-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "2dc6f65139d50cd5c6bda5798766bee3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 30198, "upload_time": "2018-12-19T00:31:11", "url": "https://files.pythonhosted.org/packages/93/7b/e1137bb0d2234f4fbbef7860576e625942c357aa52fd8f4c7068a491f169/filter_illumina_index-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "458c871507f0726f7d2616cbb6dd0e55", "sha256": "70faeda8dacfe1161f79823af03f4f1337b4d8a302a49dba33227674defd2461" }, "downloads": -1, "filename": "filter_illumina_index-1.0.2.tar.gz", "has_sig": false, "md5_digest": "458c871507f0726f7d2616cbb6dd0e55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17148, "upload_time": "2018-12-19T00:31:14", "url": "https://files.pythonhosted.org/packages/82/84/34d7fc4b0ac58436225977a9b8a3078eb8037e277d322204800c84d2e172/filter_illumina_index-1.0.2.tar.gz" } ] }