Skip to content

Commit

Permalink
- remove -t multithreaded option due to bug pcingola/SnpEff#157
Browse files Browse the repository at this point in the history
- restore snpeff uploader for clinvar
  • Loading branch information
sirloon committed Feb 11, 2020
1 parent c835714 commit fcf9584
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/hub/dataload/sources/clinvar/clinvar_upload.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from .clinvar_xml_parser import load_data as load_common
import biothings.hub.dataload.uploader as uploader
from hub.dataload.uploader import SnpeffPostUpdateUploader


Expand Down
2 changes: 1 addition & 1 deletion src/hub/dataload/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def do_snpeff(self, batch_size=SNPEFF_BATCH_SIZE, force=False, force_use_cache=F
assert snpeff_doc, "No snpeff information found, has it been dumped & uploaded ?"
snpeff_dir = snpeff_doc["download"]["data_folder"]
# -q: when there's an update, there's a message on stderr....
cmd = "java -Xmx4g -jar %s/snpEff/snpEff.jar -t -noStats -noExpandIUB %s" % (snpeff_dir,version)
cmd = "java -Xmx4g -jar %s/snpEff/snpEff.jar -noStats -noExpandIUB %s" % (snpeff_dir,version)
# genome files are in "data_folder"/../data
genomes = glob.glob(os.path.join(snpeff_dir,"%s_genome.*" % version))
assert len(genomes) == 1, "Expected only one genome files for '%s', got: %s" % (version,genomes)
Expand Down

0 comments on commit fcf9584

Please sign in to comment.