{"id":34057551,"url":"https://github.com/barricklab/breseq-ext-cnv","last_synced_at":"2026-04-01T20:22:10.489Z","repository":{"id":289878602,"uuid":"801691809","full_name":"barricklab/breseq-ext-cnv","owner":"barricklab","description":"breseq copy number variation extension","archived":false,"fork":false,"pushed_at":"2026-02-26T20:21:31.000Z","size":135,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-27T01:55:33.070Z","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barricklab.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-16T18:17:19.000Z","updated_at":"2026-02-26T20:21:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"94b31e65-7b27-4cde-878c-834a6bd1f5ea","html_url":"https://github.com/barricklab/breseq-ext-cnv","commit_stats":null,"previous_names":["barricklab/breseq-ext-cnv"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/barricklab/breseq-ext-cnv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barricklab%2Fbreseq-ext-cnv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barricklab%2Fbreseq-ext-cnv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barricklab%2Fbreseq-ext-cnv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barricklab%2Fbreseq-ext-cnv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barricklab","download_url":"https://codeload.github.com/barricklab/breseq-ext-cnv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barricklab%2Fbreseq-ext-cnv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31019172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T03:51:26.850Z","status":"ssl_error","status_checked_at":"2026-03-27T03:51:09.693Z","response_time":164,"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":[],"created_at":"2025-12-14T03:40:13.840Z","updated_at":"2026-03-27T04:29:52.596Z","avatar_url":"https://github.com/barricklab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CNery\n*breseq* copy number variation extension predicts copy numbers using sequencing coverage output from [*breseq*](https://github.com/barricklab/breseq.git). The predictions account for biases in coverage due to sequencing methodologies such as GC content or prokaryotic physiological states during DNA isolation that may bias sequencing coverage towards origin of genome replication.\n\n**Installation:**\n\nRecommended: Create conda python environment.\n\n```\nmamba env create -f environment.yml\nmamba activate CNery\n```\nInstall breseq-ext-cnv\n```\npip install git+https://github.com/barricklab/breseq-ext-cnv.git\n```\n**Run:**\n\nRun CNery in the *breseq* folder that contains folders 01_.., 02_.., data and output: \n\n```\nCNery [-o \u003coutput folder location\u003e] [-w \u003cwindow\u003e] [-s \u003cstep size\u003e] [-f \u003cfragment length\u003e]\n```\n\nIf running this script from in a different location, specify input .bam file, refrence.fasta file and output paths:\n```\nCNery [-i \u003cinput .bam file\u003e] [-ref \u003crefrence.fasta file location\u003e][-o \u003coutput folder location\u003e] [-w \u003cwindow\u003e] [-s \u003cstep size\u003e] [-f \u003cfragment length\u003e]\n```\n\n**Run examples:**\n\nCalculate coverage with a window size of 500 and an sliding increment size of 250 to summarize coverage across the genome. Average fragment length of the sequencing platform is 300bp\n\n```\nCNery -o \u003coutput folder\u003e -w 500 -s 250 -f 300\n```\nAnalyze coverage across the whole genome but output copy number prediction and coverage plots of a specific genomic segment\n```\nCNery -o \u003coutput folder\u003e --region 3497890-3955678 -w 1000 -s 500\n```\nCorrect bias in sequencing coverage due to either one of the two factors GC or OTR (origin-terminus of replication) or no correction:\n```\nCNery -o \u003coutput folder\u003e -w 500 -s 250 --bias otr #only correct for bias in coverage due to replication\n\nCNery -o \u003coutput folder\u003e -w 500 -s 250 --bias gc #only correct for bias in coverage due to GC content of the sequence\n\nCNery -o \u003coutput folder\u003e -w 500 -s 250 --bias none #no bias correction to be applied before CN prediction\n```\n**CNery run options**\n```\n$CNery -h\n\nusage: CNery [-h] [-i I] [-ref REF] [-reg REG] [-o O] [-w W] [-s S] [-ori ORI] [-ter TER] [-f F] [-e E]\n             [--bias {all,none,gc,otr}]\n\nCNery is python package extension to breseq that analyzes the sequencing coverage across the genome to predict copy number variation (CNV)\n\noptions:\n  -h, --help            show this help message and exit\n  -i, --input I         input .bam file from breseq output\n  -ref REF              select the reference file used for breseq\n  -reg REG              select the region of the genome to evaluate\n  -o, --output O        output file prefix. Defaults to the CNV_out folder.\n  -w, --window W        Define window length to parse through the genome and calculate coverage and GC statistics.\n  -s, --step-size S     Define step size (\u003c= window size) for each progression of the window across the genome sequence. Set step-size=window-size if non-overlapping windows.\n  -ori, --origin ORI    Genomic coordinate for origin of replication.\n  -ter, --terminus TER  Genomic coordinate for terminus of replication.\n  -f, --frag_size F     Average fragment size of the sequencing reads.\n  -e, --error-rate E    Approximate error rate in sequencing read coverage/refrence alignment.\n  --bias {all,none,gc,otr}\n                        Select specific bias correction (only OTR or only GC) to run before CN prediction.\n\nRun this script in the breseq output folder that contains 'data' and 'output' folders. \n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarricklab%2Fbreseq-ext-cnv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarricklab%2Fbreseq-ext-cnv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarricklab%2Fbreseq-ext-cnv/lists"}