Hi,
can anybody suggest a tool which aligns a targeted sequence (10 kb) against contigs/scaffolds or long reads, then removes that sequence from the contig and if necessary splits the contig into two if the undesired sequence is flanked by other sequence?
I could script this with BLAST or BWAmem coordinate alignments but I'd rather not reinvent the wheel if there is a tool which does this already. Most contaminant (adapter) trimming tools are designed for short stretches of sequence.
Thanks