modified somatic_filter so it cooperates with gnu parallel