Skip to content

Commit

Permalink
revise snakemake DBs for BWA
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc committed Feb 23, 2018
1 parent 2035906 commit 3a412d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions pipes/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ bmtagger_dbs_remove:

bwa_dbs_remove:
- "s3://sabeti-public-dbs/bmtagger/hg19"
- "s3://sabeti-public-dbs/bmtagger/GRCh37.68_ncRNA-GRCh37.68_transcripts-HS_rRNA_mitRNA"
- "s3://sabeti-public-dbs/bmtagger/metagenomics_contaminants_v3"

# Path for the directory containing blast databases used for additional depletion
# See: ftp://ftp.ncbi.nih.gov/blast/documents/formatdb.html
Expand Down
1 change: 1 addition & 0 deletions pipes/rules/hs_deplete.rules
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ rule depletion:
input_bam = config["data_dir"]+'/'+config["subdirs"]["source"]+'/{sample}.bam',
bmtagger_dbs = objectify_remote(expand("{db}.{ext}", db=config["bmtagger_dbs_remove"], ext=['bitmask','srprism.ssa','srprism.imp','srprism.idx','srprism.map','srprism.ss','srprism.amp','srprism.rmp','srprism.pmp','srprism.ssd'])),
blast_dbs = objectify_remote(expand("{db}.{ext}", db=config["blast_db_remove"], ext=['nhr','nsq','nin'])) # ['nhr','nix','nsq','dict','fai','nin']
blast_dbs = objectify_remote(expand("{db}.{ext}", db=config["bwa_dbs_remove"], ext=['bwt','amb','ann','pac','sa']))
output:
config["tmp_dir"] +'/'+config["subdirs"]["depletion"]+'/{sample}.bwa_depleted.bam',
config["tmp_dir"] +'/'+config["subdirs"]["depletion"]+'/{sample}.bmtagger_depleted.bam',
Expand Down

0 comments on commit 3a412d2

Please sign in to comment.