mrvollger / SDA

Segmental Duplication Assembler (SDA).
MIT License
44 stars 6 forks source link

SDA error Repeatmasker no result and pbmm2 #20

Closed LILIHAN-001 closed 1 year ago

LILIHAN-001 commented 3 years ago

Hi, I met two issue when I worked the denovo_SDA.smk. Input : Four scaffold (each length: about 100kb )

The fisrt one is No repetitive sequences detected in some Scaffold ( There were no repetitive sequences detected in sda_out/common_repeats/sda.ref.2.fasta) when running Repatmasker and the missing of tbl file interrupted the snakemake. image so I added the command and I want to say if it will casuse any new question for the following. image

The another question is pbmm2 reported the error "Input is aligned reads. Only primary alignments will be respected to allow idempotence!", but the error won't be occur when we replaced the bam file by fasta file. Do you have any suggestions to that? image

Thanks!

mrvollger commented 3 years ago

Hi,

Thanks for the comments!

I just pushed a change that should resolve your repeat masker problem, but if you have a functioning fix on your end you can keep that.

pbmm2 is maintained by PacBio and without the data I cannot determine where this error is coming form, sorry. My guess is that there is some issue with your input bam but I am unsure. This message is just a warning and it does not impact SDA in any way: Input is aligned reads. Only primary alignments will be respected to allow idempotence! However I do not know why the following lines have ERROR.

Cheers! Mitchell

LILIHAN-001 commented 3 years ago

Hi,

Many thanks for your quickly reply!

The input bam we provided is obtained by minimap2 when we run the denovo_SDA.smk. Now we tried to map PB reads to the genome with pbmm2, pbmm2 in SDA can work nicely and no error be reported. Maybe we lose some informative when align with minimap2. I suggest that you could notice the requirements of the input bam more clearly.

thanks