analysis pipeline