ANGSD: Analysis of next generation Sequencing Data

Latest tar.gz version is (0.938/0.939 on github), see Change_log for changes, and download it here.

User:Thorfinn: Difference between revisions

From angsd
Jump to navigation Jump to search
No edit summary
(Blanked the page)
Line 1: Line 1:
# fix empty -bam/-b file
#
<pre>
int main(void)
{
  struct sysinfo myinfo;
  unsigned long total_bytes;


  sysinfo(&myinfo);
  total_bytes = myinfo.mem_unit * myinfo.totalram;
  printf("total usable main memory is %lu B, %lu MB\n",
        total_bytes, total_bytes/1024/1024);
  return 0;
</pre>

Revision as of 12:24, 17 December 2013