Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
nwiltsie committed Jul 29, 2024
1 parent 5977e7e commit 8e10b3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/install-stablelift.R
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
install.packages('renv', lib = .Library)

options(
renv.settings.bioconductor.version = Sys.getenv("BIOC_VERSION")
renv.settings.bioconductor.version = Sys.getenv('BIOC_VERSION')
)

renv::init(
bare = TRUE,
bioconductor = Sys.getenv("BIOC_VERSION")
bioconductor = Sys.getenv('BIOC_VERSION')
)

renv::install(c(
Expand Down
2 changes: 1 addition & 1 deletion module/scripts/liftover-Delly2-vcf.R
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ for (i in seq_len(nrow(fix.lifted))) {
output.vcf <- input.vcf;
output.vcf@fix <- as.matrix(fix.lifted);
output.vcf@gt <- as.matrix(gt.dt);
output.vcf@meta <- output.vcf@meta[!grepl("^##(contig|reference)", output.vcf@meta)];
output.vcf@meta <- output.vcf@meta[!grepl('^##(contig|reference)', output.vcf@meta)];
output.vcf@meta <- c(output.vcf@meta, header.contigs);

write.vcf(output.vcf, output);
1 change: 0 additions & 1 deletion module/scripts/predict-liftover-stability.R
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,3 @@ annotation.dt <- data.table(
);
sort.genomic.dt(annotation.dt);
fwrite(annotation.dt, file = output.tsv, sep = '\t', col.names = FALSE);

0 comments on commit 8e10b3b

Please sign in to comment.