Closed kojix2 closed 2 years ago
I leave this to @lucacozzuto
Hi, the original idea was to generate an index based on the annotation, align the reads and discover new splicing sites. They will be then used to generate another (improved) index. Finally you'll use this index for aligning the reads. I think is ok to change the code since now everything can be done in a single step.
Thanks!
According to the STAR manual...
https://raw.githubusercontent.com/alexdobin/STAR/master/doc/STARmanual.pdf
It seems to say that genome regeneration is not recommended.
Honestly, I am not sure what 2-pass mapping is, but maybe the following script can be improved by omitting the genome re-generation.
https://github.com/CRG-CNAG/CalliNGS-NF/blob/649270265eec29796816810b4ea5103d6ca9aada/modules.nf#L113-L142