nf-core's nanoseq workflow is not a bad place to start ? https://nf-co.re/nanoseq