How To Use Perl To Input A Large Ngs Data File?
I have been asked to do a task where a large NGS data file needs to be imported and modified. I plan to use perl but the memory may not be enough. I was wondering if there is any way to bypass it. Thanks in advance.
• 2,550 views
•
link
1 answer
Read it one line at a time, modify that single line, write it out. That way you don't need to load the everything into memory.
And as the comment says make sure to specify exactly what you need to do.
• 191 views
•
link
Log in to answer this question.
Could you be a little more precise about what "large NGS data file" means and what you want to do, please? Most likely a perl script is not going to be the memory bottleneck of such pipeline unless poorly coded. Please also read the FAQ and articles under Asking a good question See Ten Simple Rules for Getting Help from Online Scientific Communities Or How to ask Good Questions on Technical and Scientific Forums