RagTag icon indicating copy to clipboard operation
RagTag copied to clipboard

problems with scaffolded contig ids

Open eddykay310 opened this issue 3 years ago • 2 comments

Hi @malonge

Thank you for this tool. I would kindly want to ask if there was anyway to help prevent ragtag from leaving contig ids within the output scaffolded genome. Find example below. Ignore the quote; I just needed it to prevent misinterpretation of the ">" in the id.

'>contig1 agctcgcagctca

'>contig2 tgactcacccagctc

'>scaffold agctcgcagctca>contig2.pilontgactcacccagctc

I have been able to use sed to remove them but I want find out if this can be avoided. Thank you

eddykay310 avatar Jun 18 '22 06:06 eddykay310

Hi @eddykay310

The problem is in the input file, any extra space or line breaks...

Hope this can help you.

TxuriBeltza avatar Jan 20 '23 13:01 TxuriBeltza

Thanks for your response though it took a while.

So the same assembled genome did fine previously when I used RagTag but then subsequently I was facing this issue. That means I have to preprocess the assembled genome before using RagTag.

Thanks!

eddykay310 avatar Jan 20 '23 15:01 eddykay310