nabeel-bioinfo / Asite_IP_method

1 stars 3 forks source link

Enhancement: Speed-up by removing slow output #2

Open aghr opened 1 month ago

aghr commented 1 month ago

I found that outputting the line number of the currently parsed SAM-file line takes much time. Removing just this output gave me a speed-up of parsing the SAM file of min 10 fold.

https://github.com/nabeel-bioinfo/Asite_IP_method/blob/da931e1ad4cb3f042fa6da0135094b84d0ebb743/src/asite_ip_preprocess.py#L112-L113