this is the last one for today, I promise :)
Although RepeatMasker has a large collection of repeat libraries, sometimes it is necessary to use a custom repeat library. This can be because the organism is novel and there are no libraries yet, or because you deliberately want to focus on a subset of repeats (say LTRs). RepeatMasker allows you to specify the library using the --lib argument. Could you also add that to SDA?
Currently, I solved it as follows
Dear @mrvollger,
this is the last one for today, I promise :) Although
RepeatMasker
has a large collection of repeat libraries, sometimes it is necessary to use a custom repeat library. This can be because the organism is novel and there are no libraries yet, or because you deliberately want to focus on a subset of repeats (say LTRs).RepeatMasker
allows you to specify the library using the--lib
argument. Could you also add that to SDA? Currently, I solved it as followsat https://github.com/mrvollger/SDA/blob/1fbe948f3d8cde6ae6b8c49b33f4220053755718/denovo_SDA.smk#L284
Although, I must admit, I never worked with Snakemake before, therefore, it may not be the best solution. In a regular shell script, I'd rather do
But I didn't know how snakemake treats those variables and it seemed to be a quick way of fixing the issue without going too much into detail.
Thanks! Sergej