Skip to content

Commit

Permalink
STAARpipeline v0.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
xihaoli committed Mar 27, 2024
1 parent 6a66553 commit 08375b6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run: |
brew install imagemagick@6
brew install libgit2
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
r-version: 4.2.3
Expand All @@ -30,6 +30,7 @@ jobs:
needs: |
website
coverage
install-pandoc: true
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
shell: Rscript {0}
1 change: 0 additions & 1 deletion R/coding.R
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ coding <- function(chr,gene_name,genofile,obj_nullmodel,genes,
#####################################################
# plof
#####################################################
# variant.id.gene <- seqGetData(genofile, "variant.id")
lof.in.plof <- (GENCODE.EXONIC.Category=="stopgain")|(GENCODE.EXONIC.Category=="stoploss")|(GENCODE.Category=="splicing")|(GENCODE.Category=="exonic;splicing")|(GENCODE.Category=="ncRNA_splicing")|(GENCODE.Category=="ncRNA_exonic;splicing")
variant.id.gene.category <- variant.id.gene[lof.in.plof]

Expand Down
6 changes: 0 additions & 6 deletions R/coding_incl_ptv.R
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ coding_incl_ptv <- function(chr,gene_name,genofile,obj_nullmodel,genes,
}
}


################################################
# ptv_ds
################################################
Expand Down Expand Up @@ -323,7 +322,6 @@ coding_incl_ptv <- function(chr,gene_name,genofile,obj_nullmodel,genes,
#####################################################
# plof
#####################################################
# variant.id.gene <- seqGetData(genofile, "variant.id")
lof.in.plof <- (GENCODE.EXONIC.Category=="stopgain")|(GENCODE.EXONIC.Category=="stoploss")|(GENCODE.Category=="splicing")|(GENCODE.Category=="exonic;splicing")|(GENCODE.Category=="ncRNA_splicing")|(GENCODE.Category=="ncRNA_exonic;splicing")
variant.id.gene.category <- variant.id.gene[lof.in.plof]

Expand Down Expand Up @@ -413,12 +411,9 @@ coding_incl_ptv <- function(chr,gene_name,genofile,obj_nullmodel,genes,
}
}


#####################################################
# ptv
#####################################################
# variant.id.gene <- seqGetData(genofile, "variant.id")

if(variant_type=="SNV")
{
lof.in.plof <- (GENCODE.EXONIC.Category=="stopgain")|(GENCODE.EXONIC.Category=="stoploss")|(GENCODE.Category=="splicing")|(GENCODE.Category=="exonic;splicing")
Expand Down Expand Up @@ -524,7 +519,6 @@ coding_incl_ptv <- function(chr,gene_name,genofile,obj_nullmodel,genes,
}
}


#############################################
# synonymous
#############################################
Expand Down

0 comments on commit 08375b6

Please sign in to comment.