xjtu-omics / SVision

Detecting genome structural variants with deep learning in single molecule sequencing
GNU General Public License v3.0
101 stars 10 forks source link

Assembled sequence in FASTA format as input. #4

Closed Pigrenok closed 2 years ago

Pigrenok commented 2 years ago

Maybe I do not understand the internal works of the pipeline and it depends on reads, but is it possible to allow as input FASTA file with assembled contigs/scaffolds (as alternative to BAM file input)?

Or do you think it is better to align contigs/scaffolds/chromosomes to reference (not probably directly, but through simulated reads) and use this BAM file? Would you suggest preferred chain of tools to do that?

Thank you very much in advance for your help.

jiadong324 commented 2 years ago

Thanks for your interests to our work.

Maybe I do not understand the internal works of the pipeline and it depends on reads, but is it possible to allow as input FASTA file with assembled contigs/scaffolds (as alternative to BAM file input)?

SVision supports contigs as input.

Or do you think it is better to align contigs/scaffolds/chromosomes to reference (not probably directly, but through simulated reads) and use this BAM file? Would you suggest preferred chain of tools to do that?

Yes, you can use minimap2 aligned contigs as input for SVision. I don't quite understand what do you mean by 'not probably directly, but through simulated reads'.

Pigrenok commented 2 years ago

How would SVision behave of three assembly is chromosome level assembly? I am concerned about alignment of whole chromosomes. I will probably try it and see what it will give me.

jiadong324 commented 2 years ago

Yes, please try it. We only tested SVision on human assemblies, which was not chromosome level.