Skip to content

Commit

Permalink
Merge pull request #44 from vyepez88/code_cleaning
Browse files Browse the repository at this point in the history
Code cleaning
  • Loading branch information
vyepez88 committed May 21, 2020
2 parents 90ef0ee + 0ac8fad commit 53d09ad
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ addons:

install:
- cd $DROP_DIR
- R -e "if ('FRASER' %in% rownames(installed.packages())) remove.packages('FRASER')"
- R -e "install.packages('BiocManager'); BiocManager::install('remotes'); BiocManager::install('c-mertes/FRASER')"
# - R -e "if ('FRASER' %in% rownames(installed.packages())) remove.packages('FRASER')"
# - R -e "if ('tMAE' %in% rownames(installed.packages())) remove.packages('tMAE')"
- Rscript travis/installRPackages.R drop/requirementsR.txt
- bash travis/install_bcftools.sh
Expand All @@ -59,7 +58,7 @@ before_script:
- cd $PROJECT_DIR
- drop demo

script:
script:
- cd $PROJECT_DIR
- snakemake -n
- snakemake aberrantExpression --cores 2
Expand Down
5 changes: 5 additions & 0 deletions drop/configHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@ def getSampleAnnotation(self, filename, sep='\t'):
col = col.str.replace(" ", "").str.replace("(|)", "", regex=True)
sample_annotation["DROP_GROUP"] = col

# set ID type as string
sample_annotation = sample_annotation.astype({
"RNA_ID": str, "DNA_ID": str
})

return sample_annotation

def createSampleFileMapping(self, sample_annotation):
Expand Down
2 changes: 1 addition & 1 deletion drop/modules/mae-pipeline
Submodule mae-pipeline updated 1 files
+3 −1 mae_readme.md
1 change: 1 addition & 0 deletions drop/template/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ aberrantSplicing:
- group1
recount: false
longRead: false
keepNonStandardChrs: true
filter: true
minExpressionInOneSample: 20
minDeltaPsi: 0
Expand Down

0 comments on commit 53d09ad

Please sign in to comment.