{"id":19323405,"url":"https://github.com/cfrioux/padmet-tricks","last_synced_at":"2025-11-17T00:02:32.748Z","repository":{"id":81026004,"uuid":"266765158","full_name":"cfrioux/padmet-tricks","owner":"cfrioux","description":"Some tiny scripts involving padmet to hack metabolic networks","archived":false,"fork":false,"pushed_at":"2023-11-29T17:29:31.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-10T00:18:37.230Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cfrioux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-25T11:46:38.000Z","updated_at":"2023-03-03T09:54:21.000Z","dependencies_parsed_at":"2025-01-06T06:12:01.738Z","dependency_job_id":"aeaf484c-d523-4d8b-a9cf-b5f254cb9f53","html_url":"https://github.com/cfrioux/padmet-tricks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cfrioux/padmet-tricks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfrioux%2Fpadmet-tricks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfrioux%2Fpadmet-tricks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfrioux%2Fpadmet-tricks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfrioux%2Fpadmet-tricks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfrioux","download_url":"https://codeload.github.com/cfrioux/padmet-tricks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfrioux%2Fpadmet-tricks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284796418,"owners_count":27064666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-16T02:00:05.974Z","response_time":65,"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-10T01:46:18.858Z","updated_at":"2025-11-17T00:02:32.699Z","avatar_url":"https://github.com/cfrioux.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# padmet-tricks\nSome tiny scripts involving padmet to hack metabolic networks\n\n## Creation of a sbml with desired set of reactions only\n\n`subnetwork.py`\n\nInputs:\n\n* an empty padmet `data/empty.padmet`\n* a list of reactions\n* a padmet file with the reactions data\n* an output SBML file\n* option to remove cofactors (defined in the script) from the reactions\n\n```shell\npython subnetwork.py --help\n```\n\n## Creation of a sbml with desired set of pathways only\n\n`extract_pathways.py`\n\nInputs:\n\n* an empty padmet `data/empty.padmet`\n* a pathway name\n* a padmet file with the reactions data\n* an output SBML file\n\n```shell\npython extract_pathways.py --help\n```\n\n## Analyse the ontology of compounds and pathways in metacyc\n\n`cpd_ontology.py` and `pwy_ontology.py`\nbuild a tree with all parent/children relationships used to describe metabolites and metabolic pathways in Metacyc.\n\n`get_high_lvl_cpds.py` and `get_high_lvl_pwys.py` use the previous ontology (nw file) to get the high level parents of a list of compounds/pathways.\n`padmet_cpd_to_highlevel_onto.py` and `padmet_pwys_to_highlevel_onto.py` use the previous ontology (nw file) to get the high level parents of all compounds/pathways from a padmet file.\n\n`get_family_metabolites.py` retrieves the families of given compounds and pathways using families ontology (json file).\n\n`analyse_all_mn_cpds.py` and `analyse_all_mn_pwys.py` analyse the pathways or metabolites of directory of metabolic networks and retrieve for each of them the representation of each category of compounds/pathway using a json ontology of Metacyc. \n\n`onto_json_to_long_format` create tabulated files out of the json ontologies of pathways. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfrioux%2Fpadmet-tricks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfrioux%2Fpadmet-tricks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfrioux%2Fpadmet-tricks/lists"}