{"id":24699081,"url":"https://github.com/laura-budurlean/structural_variant_discovery","last_synced_at":"2025-03-22T03:43:05.662Z","repository":{"id":243296583,"uuid":"812041989","full_name":"laura-budurlean/Structural_Variant_Discovery","owner":"laura-budurlean","description":"A combination of optical genome mapping with Bionano and whole genome sequencing short-read data. This pipeline was created to help integrate structural variant calling from these two technologies.","archived":false,"fork":false,"pushed_at":"2025-01-17T02:35:24.000Z","size":16668,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T04:35:10.322Z","etag":null,"topics":["bionano","optical-genome-mapping","optical-mapping","structural-variation","structural-variation-calling","sv-calling","wgs","whole-genome-sequencing"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/laura-budurlean.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":"2024-06-07T20:45:02.000Z","updated_at":"2025-01-17T02:35:26.000Z","dependencies_parsed_at":"2025-01-07T02:44:21.497Z","dependency_job_id":null,"html_url":"https://github.com/laura-budurlean/Structural_Variant_Discovery","commit_stats":null,"previous_names":["laura-budurlean/structural_variant_ogm_wgs_pipeline","laura-budurlean/structural_variant_discovery"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laura-budurlean%2FStructural_Variant_Discovery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laura-budurlean%2FStructural_Variant_Discovery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laura-budurlean%2FStructural_Variant_Discovery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laura-budurlean%2FStructural_Variant_Discovery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laura-budurlean","download_url":"https://codeload.github.com/laura-budurlean/Structural_Variant_Discovery/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902921,"owners_count":20529114,"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":["bionano","optical-genome-mapping","optical-mapping","structural-variation","structural-variation-calling","sv-calling","wgs","whole-genome-sequencing"],"created_at":"2025-01-27T04:35:17.906Z","updated_at":"2025-03-22T03:43:05.640Z","avatar_url":"https://github.com/laura-budurlean.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Structural Variant Detection Pipeline Combining Optical Genome Mapping and Whole Genome Sequencing\nby Laura Budurlean\n\nA combination of optical genome mapping with Bionano and whole genome sequencing short-read data. This pipeline was created to help integrate structural variant calling from these two technologies. These results were published in:\n\nBudurlean L, Tukaramrao DB, Zhang L, Dovat S, Broach J. Integrating optical genome mapping and whole genome sequencing in somatic structural variant detection. *Journal of Personalized Medicine. 2024*;14(3):291.\n\n# SV Calling Pipeline Summary:\n![Fig1](https://github.com/user-attachments/assets/be599605-4406-4032-b91a-4fa5d652ba7a)\n\n# Example Pipeline Output of an IKZF1 Deletion in Leukemia Patient:\n![Fig5](https://github.com/user-attachments/assets/5dbdc675-29a0-4e02-a1ad-992555c61599)\nBionano optical genome maps are aligned to precise coordinates using WGS reads to confirm a heterozygous IKZF1 deletion.\n\n# How To Run:\n\n## Option 1: Makefile run\n\nYou can use the makefile: ```make -f Makefile.mak help``` to run the help file, and ```make -f Makefile.mak all``` to run all the steps at once. You will still need to specify some file names/directories inside the 1- 2- 3- main .sh scripts first depending on your unique sample naming conventions.\n\n## Option 2: Manual run\n\nYou can run each of the scripts yourself in the order specified below.\n\n### 1. Run SV Calling Pipeline on WGS Files\n\nYou can run any SV calling pipeline you wish for your project on your WGS files. You need to obtain a VCF file with your SV calls from WGS. For our data, we opted to use LUMPY and DELLY. We use the SpeedSeq pipeline for running the SVs, which already incorporates LUMPY. We run DELLY separately. A separate repository for doing SV calling with SpeedSeq is available here: [SV-calling-with-SpeedSeq](https://github.com/laura-budurlean/SV-calling-with-SpeedSeq). For copy number alterations, we use FreeCNV.\n\n### 2. Obtain VCF and .SMAP Files from Bionano Data\n\nFrom the Bionano data, obtain the VCF and .SMAP files for each sample from the pipeline you ran and give each sample its own folder with the respective VCF and .SMAP files. We used the Bionano Rare Variant Pipeline. You can either use filtered or unfiltered files. The scripts here have their own built-in filtering parameters that you can adjust, similar to the Bionano ones available online, but you may also pre-filter Bionano files before downloading them if you wish.\n\n### 3. Run the Scripts\n\nNow we can run the scripts. Note: If you set up your directories differently, make sure to change the file paths in the scripts.\n\n### 4. Load Required Modules\n\nLoad any required modules including: Python, Bedtools, R.\n\n### 5. Adjust Headers, Parameters, and Paths\n\nAdjust headers, parameters, and paths as required for your own project and run the following scripts in order:\n\n1. `1-Optical-Mapping-SV-part1.sh`\n2. `Bionano-remove-recurrent.sh`\n3. `1-Optical-Mapping-SV-part2.sh`\n\n### 6. Run Filtering Script\n\nRun `filter-sv.sh` in the `/.../scripts/WGS/SV/` scripts folder.\n\n### 7. Run Merging Script\n\nRun `merge-sv.sh` in the `/.../scripts/WGS/SV/` scripts folder.\n\n### 8. Notes\n\n- Ensure your FreeCNV `.bam_CNVs` files have `chr` prefixes and no trailing tabs.\n- If you encounter Python pandas errors, ensure your Python version is higher than 3.7. We used Python 3.7.1.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaura-budurlean%2Fstructural_variant_discovery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaura-budurlean%2Fstructural_variant_discovery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaura-budurlean%2Fstructural_variant_discovery/lists"}