{"id":19601334,"url":"https://github.com/sandyjmacdonald/blast_parser","last_synced_at":"2026-06-08T22:32:31.091Z","repository":{"id":20198336,"uuid":"23469673","full_name":"sandyjmacdonald/blast_parser","owner":"sandyjmacdonald","description":"Parses .xml formatted blast results files and returns query and hit IDs.","archived":false,"fork":false,"pushed_at":"2015-01-12T13:55:11.000Z","size":180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T15:37:28.298Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sandyjmacdonald.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-29T16:06:04.000Z","updated_at":"2015-01-12T13:55:11.000Z","dependencies_parsed_at":"2022-08-05T07:15:25.522Z","dependency_job_id":null,"html_url":"https://github.com/sandyjmacdonald/blast_parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sandyjmacdonald/blast_parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandyjmacdonald%2Fblast_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandyjmacdonald%2Fblast_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandyjmacdonald%2Fblast_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandyjmacdonald%2Fblast_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandyjmacdonald","download_url":"https://codeload.github.com/sandyjmacdonald/blast_parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandyjmacdonald%2Fblast_parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34083848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T09:18:05.448Z","updated_at":"2026-06-08T22:32:31.086Z","avatar_url":"https://github.com/sandyjmacdonald.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!IMPORTANT]\n\u003e **This repository has moved to Codeberg.**\n\u003e\n\u003e Active development now happens at **[https://codeberg.org/sandyjmacdonald/blast_parser](https://codeberg.org/sandyjmacdonald/blast_parser)**.\n\u003e\n\u003e This GitHub copy is archived and read-only. Please file issues, open pull requests, and follow the project on Codeberg.\n\n---\n\nblast_parser.py\n============\n\nTakes a .xml formatted BLAST results file as input and prints the query ID, hit ID, percentage identity, query length, alignment length and e value for sequences passing the thresholds passed via the command line arguments.\n\n### Dependencies\n\nRequires [Biopython](http://biopython.org) for parsing of BLAST .xml files.\n\n### Usage\n\n```bash\npython blast_parser.py -i \u003cresults.xml\u003e -e 1e-20 -p 97 -a 100 \u003e parsed_results.txt\n```\n\n\u003e ##### Arguments\n\n\u003e `-i` The BLAST results file (in .xml format) that you want to parse.\n\n\u003e `-e` e value threshold. Can be a float or integer value.\n\n\u003e `-p` Percentage identity cutoff. Can be a float or integer value between 0 and 100.\n\n\u003e `-a` Minimum alignment length cutoff. Can be a float or integer value.\n\n\u003e `-h` Displays help.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandyjmacdonald%2Fblast_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandyjmacdonald%2Fblast_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandyjmacdonald%2Fblast_parser/lists"}