question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VarDict Java expected run time and memory

See original GitHub issue

Hi, Can you give an estimated run time for a given BAM file size for VarDictJava ? I understand this would be highly dependent on the system being run. I have a BAM file of 5GB in size. Running the command

AF_THR="0.01" # minimum allele frequency <path_to_vardict_folder>/build/install/VarDict/bin/VarDict -G /path/to/hg19.fa -f $AF_THR -N sample_name -b /path/to/my.bam -z -c 1 -S 2 -E 3 -g 4 /path/to/my.bed | VarDict/teststrandbias.R | VarDict/var2vcf_valid.pl -N sample_name -E -f $AF_THR

takes over 24 hours using 1 CPU with 16GB RAM. Is this within the expected range for runtime ? Java implementation was supposed to be 10 times faster than the perl implementation so I was expecting faster than 24 hours for a 5GB BAM file.

Thanks Best Regards T. Hamdi Kitapci

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
PolinaBevadcommented, May 1, 2019

Hi Hamdi, Sorry I forgot to say that it must be not a simple variable, but enviromental variable, so you have to set it like this: export VAR_DICT_OPTS='"-Xms32g" "-Xmx900g"' instead of this VAR_DICT_OPTS='"-Xms32g" "-Xmx900g"' In second case it can be accessed only in scope of the script that you run and not other programs (gradle, JVM, etc). Please, try to use it with export command. You can also check that variable now is available in enviroment by starting this before VarDict: printenv | grep OPTS If everything is ok, you will get the line VAR_DICT_OPTS=‘“-Xms32g” “-Xmx900g”’`

0reactions
PolinaBevadcommented, May 7, 2019

Hamdi, hello! Great, thank you for notifying! I will close the issue, please feel free to create new issue if you will have any other questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VarDict: a novel and versatile variant caller for next-generation ...
VarDict was designed to have efficient memory management and run time for ultra-deep sequencing. VarDict constructs a unique data structure ...
Read more >
Why does java wait so long to run the garbage collector?
It will take a very long time before the application has accumulated enough garbage to reach the heap size in memory usage.
Read more >
[solved] 1678A: wrong answer 986th numbers differ — expected
2: I tried to use submit again without a "\n" at the end. Same verdict. 3: Memory looks okay. 4: Time looks okay....
Read more >
Pistorius freed on parole after year behind bars for killing ...
Oscar Pistorius, South Africa's "Blade Runner", was released on parole on Monday, just short of a year into his five-year sentence for ...
Read more >
VERDICT User Manual - Snap-on
this manual are based on the latest information available at the time of printing and are subject to change without notice. While the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found