MariaNattestad / Assemblytics

Assemblytics is a bioinformatics tool to detect and analyze structural variants from a genome assembly by comparing it to a reference genome.
http://assemblytics.com
MIT License
136 stars 28 forks source link

Does it have to be a delta file #15

Closed peflanag closed 5 years ago

peflanag commented 5 years ago

Does Assemblytics have to be in a delta format? I am having issues making delta files with MUMmer 3 and MUMmer 4 and will attache screenshots below. I obnly happened along Assemblytics yesterday and before hand I was making BAM files to import into Tablet to view deletions and also vcf files using sniffles. I really want to use Assemblytics but cannot seem to make .delta files.

I am very new to command line and a novice. My background is microbiology.

Cheers

Peter

MUMmer 3 screenshot

screenshot 2018-12-20 at 09 29 03

MUMmer 4 screenshot

screenshot 2018-12-20 at 11 49 22
MariaNattestad commented 5 years ago

Assemblytics does only work with delta files. If you are aligning a genome assembly to a reference genome, then MUMmer + Assemblytics is the right choice for variant-calling. If you are instead aligning long reads directly (without first assembling them) then NGM-LR/Minimap2 + Sniffles is the right choice for variant-calling. Sniffles should not be used on assemblies, and Assemblytics should not be used on raw reads. If you do have an assembly and want to go with MUMmer, then I think you're close, but you just have to try a few more things to run MUMmer correctly. Did you check what the manual says about supported file formats? If you need more help running MUMmer and reading the manual is not helping, then I recommend posting on Biostars: https://www.biostars.org/ You will also probably want to use the web version of Assemblytics at assemblytics.com, since it is very user-friendly. Best of luck!

peflanag commented 5 years ago

So I used porechop to trim my Oxford Nanopore basecalled reads then used NGMLR to align with a reference sequence and got a fasta output. Then I tried to run this through Assemblytics. Should I instead use BWA and then run it through Assemblytics? I’d rather use Assemblytics for the visual representation as uppose to sniffles which just gives me a vcf output.

Cheers

MariaNattestad commented 5 years ago

Assemblytics is for assemblies only, so it's not a good fit for your analysis, sorry! NGMLR+Sniffles is the right thing to do, so I would recommend looking at visualization after the Sniffles step. Again, Biostars would be a good place to ask for recommendations about visualizing your VCF file.