Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/submodules/pipeline-submodules-51…
Browse files Browse the repository at this point in the history
…de11d00e
  • Loading branch information
nwiltsie authored Sep 12, 2024
2 parents 6dbb4d6 + bd98eb4 commit 176bed2
Show file tree
Hide file tree
Showing 18 changed files with 75 additions and 158 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

---

## [Unreleased]
## [1.0.0] - 2024-09-10

### Added

Expand Down
142 changes: 59 additions & 83 deletions README.md

Large diffs are not rendered by default.

Empty file removed config/F16.config
Empty file.
Empty file removed config/F2.config
Empty file.
Empty file removed config/F32.config
Empty file.
Empty file removed config/F72.config
Empty file.
23 changes: 0 additions & 23 deletions config/M64.config

This file was deleted.

2 changes: 1 addition & 1 deletion config/default.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ params {
gatk_version = '4.4.0.0'
pipeval_version = '5.0.0-rc.3'
samtools_version = '1.20'
stablelift_version = 'dev' // FIXME
stablelift_version = '1.0.0'

docker_image_bcftools = "${-> params.docker_container_registry}/bcftools-score:${params.bcftools_version}"
docker_image_bedtools = "${-> params.docker_container_registry}/bedtools:${params.bedtools_version}"
Expand Down
2 changes: 1 addition & 1 deletion config/methods.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/methods/co
includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/schema/schema.config"
includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/bam/bam_parser.config"
includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/store_object_as_json/store_object_as_json.config"
includeConfig "${projectDir}/config/base.config"

import nextflow.Nextflow

Expand Down Expand Up @@ -101,7 +102,6 @@ methods {
}

methods.set_output_dir()
methods.set_resources_allocation()
methods.modify_base_allocations()
methods.set_pipeline_logs()
methods.set_env()
Expand Down
14 changes: 0 additions & 14 deletions docs/pipeline-flow.puml

This file was deleted.

17 changes: 0 additions & 17 deletions docs/pipeline-flow.svg

This file was deleted.

11 changes: 5 additions & 6 deletions docs/pipeline.mmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ flowchart TD
--> pipeval:::linux
--> sv_vs_snv{{Variant Type?}}

sv_vs_snv ------> r_liftover
header_contigs .-> r_liftover
chain_file2 ..-> r_liftover
sv_vs_snv ------> r_extract_sv
header_contigs .-> r_extract_sv
chain_file2 ..-> r_extract_sv
gnomad_rds .-> r_extract_sv

subgraph SV ["`**SV**`"]
Expand All @@ -41,8 +41,7 @@ flowchart TD
chain_file2([chain_file]):::input
gnomad_rds([gnomad_rds]):::input

r_liftover[liftover-Delly2-vcf.R]:::R
---> r_extract_sv[extract-VCF-features-SV.R]:::R
r_extract_sv[extract-VCF-features-SV.R]:::R

end

Expand All @@ -64,7 +63,7 @@ flowchart TD
--> bcftools_annotate2["`bcftools annotate*Trinucleotide*`"]:::bcftools
end

blocknote["`**Note:** Annotation is performed prior to LiftOver when converting from GRCh38 -> GRCh37`"]
blocknote["`**Note:** Annotation is performed prior to LiftOver when converting from GRCh38 to GRCh37`"]

bcftools_liftover ---> gatk_func
bcftools_annotate2 --> r_extract_snv[extract-VCF-features.R]:::R
Expand Down
2 changes: 1 addition & 1 deletion docs/pipeline.mmd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/stablelift-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion docs/stablelift-overview.svg

This file was deleted.

10 changes: 4 additions & 6 deletions metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
category: "pipeline"
description: "A template Nextflow pipeline for styling and standardization"
maintainers: "Boutros Lab Infrastructure <[email protected]>"
languages: ["Nextflow", "Docker"]
dependencies: ["Java", "Nextflow", "Docker"]
references: "https://uclahs-cds.atlassian.net/wiki/spaces/BOUTROSLAB/pages/3189620/Guide+to+Nextflow"
tools: ["tool_a:v1.1.0", "tool_b:v1.1.0"]
description: "Nextflow pipeline for predicting variant stability across reference genome builds."
maintainers: "Nicholas Wiltsie <[email protected]>, Nicholas K. Wang <[email protected]>"
languages: ["Nextflow", "R"]
dependencies: ["Nextflow", "R", "Docker"]
image_name: "stablelift"
1 change: 0 additions & 1 deletion module/scripts/extract-VCF-features-SV.R
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ all.features <- c(continuous.features, categorical.features, 'ID');
features.dt <- features.dt[, ..all.features];
features.dt[, (continuous.features) := lapply(.SD, as.numeric), .SDcols = continuous.features];
features.dt[, (continuous.features) := lapply(.SD, function(x) ifelse(is.na(x), 0, x)), .SDcols = continuous.features];
features.dt[, (categorical.features) := lapply(.SD, function(x) ifelse(is.na(x), '', x)), .SDcols = categorical.features];
features.dt[, (categorical.features) := lapply(.SD, as.factor), .SDcols = categorical.features];
names(features.dt) <- make.names(names(features.dt));

Expand Down
6 changes: 3 additions & 3 deletions nextflow.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Metadata
manifest {
name = 'pipeline-StableLift'
author = 'Nicholas Wiltsie'
description = 'A template for Nextflow pipelines'
version = '0.1.0'
author = 'Nicholas Wiltsie, Nicholas K. Wang'
description = 'Nextflow pipeline for predicting variant stability across reference genome builds.'
version = '1.0.0'
}

0 comments on commit 176bed2

Please sign in to comment.