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
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
fix empty -bam/-b file | # 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 18:10, 16 December 2013
- fix empty -bam/-b file
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; }