{"id":15107749,"url":"https://github.com/hernanmd/penncnv.illumina","last_synced_at":"2026-01-19T15:02:36.659Z","repository":{"id":71141284,"uuid":"149485722","full_name":"hernanmd/PennCNV.Illumina","owner":"hernanmd","description":"Workflow for running PennCNV with Illumina platform final report","archived":false,"fork":false,"pushed_at":"2019-04-01T13:13:50.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-18T11:14:22.195Z","etag":null,"topics":["bash-script","bioinformatics","bioinformatics-pipeline","cnv","pharo","pharo-smalltalk","smalltalk"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/hernanmd.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}},"created_at":"2018-09-19T17:13:22.000Z","updated_at":"2021-02-03T06:19:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"92a5a17e-4e08-4444-a6eb-b3f4aca440e4","html_url":"https://github.com/hernanmd/PennCNV.Illumina","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernanmd%2FPennCNV.Illumina","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernanmd%2FPennCNV.Illumina/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernanmd%2FPennCNV.Illumina/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernanmd%2FPennCNV.Illumina/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hernanmd","download_url":"https://codeload.github.com/hernanmd/PennCNV.Illumina/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353679,"owners_count":20925324,"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","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":["bash-script","bioinformatics","bioinformatics-pipeline","cnv","pharo","pharo-smalltalk","smalltalk"],"created_at":"2024-09-25T21:41:23.796Z","updated_at":"2026-01-19T15:02:36.652Z","avatar_url":"https://github.com/hernanmd.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\r\n\r\nWorkflow for running PennCNV analysis with Illumina platform files.\r\n\r\n# Requirements\r\n\r\n  - You will need the following files:\r\n    - Illumina Final Report file (CSV) should exist in the git directory (see Installation).\r\n    - SNP Map (from Illumina results, not the MAP from PLINK) file should exist in the git directory (see Installation).\r\n      - This SNP Map file has the following header: ```Index\tName\tChromosome\tPosition\tGenTrain Score\tSNP\tILMN Strand\tCustomer Strand\tNormID```\r\n    - Illumina CNV report, which you can generate from [GenomeStudio](https://support.illumina.com/array/array_software/genomestudio/downloads.html) \u003e= 2.x\r\n      - This report file has the following header: ```SNP Name,Sample ID,B Allele Freq,Log R Ratio```\r\n  - GC file name\r\n  - RefGene URL (required by PennCNV scan_region.pl script). \r\n    - You can obtain both GC and copy URL from the [UCSC site](http://hgdownload.cse.ucsc.edu/downloads.html)\r\n\r\n# Notes\r\n\r\n  - If you filtered your Illumina results through PLINK (i.e. PED/MAP files) you will need to update the input files by running the build script in the step 1) (see Usage).\r\n  - The build script automatically downloads and install [Pharo](https://www.pharo.org) and required libraries.\r\n  \r\n# Output files\r\n\r\n  - PFB (Population B-Allele Frequency) file : .pfb (generated by compile_pfb.pl)\r\n  - GC Model File : .gcmodel (generated by cal_gc_snp.pl)\r\n  - Output directory with:\r\n    - Signal intensity PennCNV results\r\n    - JPEG visualizations of signal itensity files for each individual\r\n    - BED files for loading into UCSC Genome Browser for each individual\r\n\r\n# Installation\r\n\r\n  - Download and install [PennCNV](http://penncnv.openbioinformatics.org/en/latest/user-guide/download/)\r\n  - Open a terminal or [GitBash](https://git-scm.com/downloads), create and cd to a working directory for example: \r\n    - ```mkdir /c/bio_jobs; cd /c/bio_jobs```\r\n  - Clone this repository. \r\n    - ```git clone https://github.com/hernanmd/PennCNV.Illumina.git```\r\n  - Put your Illumina Final Report CNV results into the recently created directory \"PennCNV.Illumina\" \r\n    - JobID_FinalReportCNV.zip (do not uncompress).\r\n  - Put both your original PED/MAP files and already filtered PED/MAP files into the directory.\r\n    \r\n # Usage\r\n \r\nThe workflow involves running two scripts: 1) Prepare input files for PennCNV and 2) Run the PennCNV scripts.\r\nLet's assume the name of your PED/MAP files is MySamples\r\n\r\n## Prepare input files\r\n\r\n```bash\r\n./build_penncnv.sh JobID_FinalReportCNV.zip MySamples MySamples.fltr\r\n```\r\n  - First parameter is a ZIP files containing Illumina Final Report CNV file.\r\n  - Second parameter is the name of the PED/MAP file without the extension.\r\n  - Third parameter is the name of the filtered PED/MAP file without the extension.\r\n  - Fourth parameter is the Illumina SNP_Map.txt (tab-delimited) file.\r\n\r\n## Run PennCNV scripts\r\n\r\nEdit the script run_penncnv.sh to adjust parameters and/or enable downloading the GC file (required for the first time): \r\n\r\n```\r\n./run_penncnv.sh PrjName MySamples.fltr.ped\r\n```\r\n\r\n  - First parameter is the project name, it could be anything to identify your output files.\r\n  - Second parameter is the Illumina Final Report CNV (CSV file) filtered in the previous step.\r\n  \r\n # Issues\r\n \r\n   - Please report issues here: [https://github.com/hernanmd/PennCNV.Illumina/issues](https://github.com/hernanmd/PennCNV.Illumina/issues) describing:\r\n     - Your platform (Operating System, Architecture: i686, x64)\r\n     - The command you have used.\r\n     - The produced output. \r\n       - To copy text from MSYS2 or GitBash console, please go to the upper left menu and select Edit and then Mark.\r\n \r\n # License\r\n \r\nThis software is licensed under the MIT License.\r\n\r\nCopyright Hernán Morales Durand, 2018.\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining  a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, \r\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF \r\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. \r\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY \r\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, \r\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE \r\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n\r\nAuthors\r\n\r\nHernán Morales Durand\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhernanmd%2Fpenncnv.illumina","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhernanmd%2Fpenncnv.illumina","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhernanmd%2Fpenncnv.illumina/lists"}