projects
/
lightning.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cb5d71
)
Request more memory when using mask.
author
Tom Clegg <tom@tomclegg.ca>
Fri, 3 Apr 2020 16:36:53 +0000
(12:36 -0400)
committer
Tom Clegg <tom@tomclegg.ca>
Fri, 3 Apr 2020 16:36:53 +0000
(12:36 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>
vcf2fasta.go
patch
|
blob
|
history
diff --git
a/vcf2fasta.go
b/vcf2fasta.go
index 382b3e15401b7a2f314eb8ee4efa1ae7bbec0997..2f02e44a28b8b9188ba8700c4ce15c88a08647c5 100644
(file)
--- a/
vcf2fasta.go
+++ b/
vcf2fasta.go
@@
-116,6
+116,9
@@
func (cmd *vcf2fasta) RunCommand(prog string, args []string, stdin io.Reader, st
},
},
}
+ if cmd.mask {
+ runner.RAM += int64(cmd.vcpus) << 31
+ }
err = runner.TranslatePaths(&cmd.refFile, &cmd.genomeFile)
if err != nil {
return 1