Skip to content

Commit

Permalink
new file: bcbio.rename_old_names.sh
Browse files Browse the repository at this point in the history
	modified:   bcbio.templates.exome.yaml
  • Loading branch information
naumenko-sa committed May 10, 2017
1 parent a686aa0 commit 2a4a2a1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions bcbio.rename_old_names.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

#renames old runs of bcbio to annotated-decomposed.vcf.gz form

if [ -z $family ];
then
family=$1
fi

suffix="annotated-decomposed.vcf.gz"

mv ${family}-ensemble.vcf.gz ${family}-ensemble-${suffix}
mv ${family}-ensemble.vcf.gz.tbi ${family}-ensemble-${suffix}.tbi

for tool in {platypus,freebayes,gatk-haplotype};
do
mv ${family}-${tool}.decomposed.vcf.gz ${family}-${tool}-${suffix}
mv ${family}-${tool}.decomposed.vcf.gz.tbi ${family}-${tool}-${suffix}.tbi
done
2 changes: 1 addition & 1 deletion bcbio.templates.exome.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ details:
batch: 166
resources:
default:
cores: 5
cores: 7
jvm_opts:
- -Xms750m
- -Xmx7000m
Expand Down

0 comments on commit 2a4a2a1

Please sign in to comment.