{"id":37673771,"url":"https://github.com/regmibijay/opencarp-analyzer","last_synced_at":"2026-01-16T12:09:33.831Z","repository":{"id":57448998,"uuid":"354568566","full_name":"regmibijay/opencarp-analyzer","owner":"regmibijay","description":"Reads Trace Files created by OpenCARP Models and exports data for easy plotting with inbuilt plotter script.","archived":false,"fork":false,"pushed_at":"2021-04-11T07:42:10.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T13:57:14.113Z","etag":null,"topics":["bioinformatics","data-analysis","opencarp"],"latest_commit_sha":null,"homepage":"","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/regmibijay.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}},"created_at":"2021-04-04T14:45:26.000Z","updated_at":"2021-04-11T07:42:11.000Z","dependencies_parsed_at":"2022-09-26T17:31:04.730Z","dependency_job_id":null,"html_url":"https://github.com/regmibijay/opencarp-analyzer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/regmibijay/opencarp-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regmibijay%2Fopencarp-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regmibijay%2Fopencarp-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regmibijay%2Fopencarp-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regmibijay%2Fopencarp-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regmibijay","download_url":"https://codeload.github.com/regmibijay/opencarp-analyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regmibijay%2Fopencarp-analyzer/sbom","scorecard":{"id":768956,"data":{"date":"2025-08-11","repo":{"name":"github.com/regmibijay/opencarp-analyzer","commit":"2ebbb3ee6b28a273be7b1cc3cb87be4900aaa5c4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/regmibijay/opencarp-analyzer/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/regmibijay/opencarp-analyzer/python-publish.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:24","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T01:42:54.475Z","repository_id":57448998,"created_at":"2025-08-23T01:42:54.475Z","updated_at":"2025-08-23T01:42:54.475Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bioinformatics","data-analysis","opencarp"],"created_at":"2026-01-16T12:09:31.539Z","updated_at":"2026-01-16T12:09:33.824Z","avatar_url":"https://github.com/regmibijay.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCARP-Analyzer\r\n\r\ncreates a list of csv-formatted files for each ion channel and current with inbuilt `opencarp-analyzer` command and then plots them as line graph with `opencarp-plotter` command.\r\n\r\n\r\n## OpenCARP-Analyzer\r\n\r\nData generation module\r\n\r\n```\r\n_____________________________________________________\r\nOpenCARP Analyzer\r\nExtracts data and multiple txt files from Trace data created by openCARP at once.\r\n_____________________________________________________\r\nusage: analyzer.py [-h] [-c COLUMNS [COLUMNS ...]] [-t TRACE] [-i IION [IION ...]] [-s [SUFFIX]] [-v [VERSION]]\r\n\r\noptional arguments:\r\n  -h, --help            show this help message and exit\r\n  -c COLUMNS [COLUMNS ...], --columns COLUMNS [COLUMNS ...]\r\n                        Name of files that contain header data\r\n  -t TRACE, --trace TRACE\r\n                        Trace data file, e.g. Trace_0.dat\r\n  -i IION [IION ...], --iion IION [IION ...]\r\n                        Ion you want to visualize, e.g. -i i_Ks\r\n  -s [SUFFIX], --suffix [SUFFIX]\r\n                        Suffix to be added behind every exported file name.\r\n  -v [VERSION], --version [VERSION]\r\n                        Displays current version of the script\r\n ```\r\n\r\n## OpenCARP-Plotter\r\nData visualization module\r\n```\r\n_____________________________________________________\r\nOpenCARP Plotter\r\nPlots multiple txt files created by opencarp at once.\r\n_____________________________________________________\r\nusage: plotter.py [-h] [-f FILES [FILES ...]] [-o OUT] [-i IGNORE [IGNORE ...]] [-t TITLE [TITLE ...]]\r\n                  [-l LEGEND [LEGEND ...]] [-xlabel XLABEL [XLABEL ...]] [-ylabel YLABEL [YLABEL ...]]\r\n                  [-xlim XLIM [XLIM ...]] [-ylim YLIM [YLIM ...]] [-custom CUSTOM [CUSTOM ...]] [-v [VERSION]]\r\n\r\noptional arguments:\r\n  -h, --help            show this help message and exit\r\n  -f FILES [FILES ...], --files FILES [FILES ...]\r\n                        Files to Plot\r\n  -o OUT, --out OUT     Output image name\r\n  -i IGNORE [IGNORE ...], --ignore IGNORE [IGNORE ...]\r\n                        Ignores a file name if this text exists in file\r\n  -t TITLE [TITLE ...], --title TITLE [TITLE ...]\r\n                        Title of plot\r\n  -l LEGEND [LEGEND ...], --legend LEGEND [LEGEND ...]\r\n                        Legend location in plot. Options: BEST,UPPER RIGHT,UPPER LEFT,LOWER LEFT,LOWER\r\n                        RIGHT,RIGHT,CENTER LEFT,CENTER RIGHT,LOWER CENTER,UPPER CENTER,CENTER\r\n  -xlabel XLABEL [XLABEL ...]\r\n                        Label for x-Axis in plot\r\n  -ylabel YLABEL [YLABEL ...]\r\n                        Label for y-Axis in plot\r\n  -xlim XLIM [XLIM ...]\r\n                        Limit for x-Axis, start and end separated by space.\r\n  -ylim YLIM [YLIM ...]\r\n                        Limit for y-Axis, start and end separated by space.\r\n  -custom CUSTOM [CUSTOM ...]\r\n                        Kwargs for matplotlib\r\n  -v [VERSION], --version [VERSION]\r\n                        Displays current version of the scripts\r\n```\r\n\r\n## Installation\r\n\r\nInstall current version of this toolkit using\r\n `pip install opencarp-analyzer`\r\n  or using `pip install git+https://github.com/regmibijay/opencarp-analyzer`\r\n\r\n## Usage\r\nAfter installation, make sure your pip installation site is in your PATH. If so, you will be able to use `opencarp-analyzer` and `opencarp-plotter` from CLI.\r\n\r\n## Examples\r\n`opencarp-analyzer -c header1.txt header2.txt -t Trace_0.dat -i i_Ks V i_NCX `\r\n will read `header1.txt` and `header2.txt` and combine  column names so content of `header1.txt` is before `header2.txt`. After that it reads `Trace_0.dat` and creates a dataframe with given column names. Then the given `i_Ks`, `V` and `i_NCX` files are generated in `.txt` format with respective values from `Trace_0.dat`.\r\n\r\n`opencarp-plotter -f data/i_*.txt data_2/*.txt -i MurineMouse header -t Comparision of voltages in mV -legend upper right`\r\nwill read `data` folder and extract all the files containing `i_` in the name and `.txt` extension. Then it will search for `*.txt` files in `data2` folder and make a list of all files, from which all files containing either `MurineMouse` or `header` in filename are omitted. Now we create a plot with title of `Comparision of voltages in mV` and legends in upper right corner.\r\n\r\n## To Do\r\nCurrent features being considered:\r\n\r\n`color-palettes` to specify custom colors for each line.\r\n\r\nIf you want certain features, feel free to open a  [feature request](https://github.com/regmibijay/opencarp-analyzer/issues).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregmibijay%2Fopencarp-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregmibijay%2Fopencarp-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregmibijay%2Fopencarp-analyzer/lists"}