-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Hi,
I have produced ragoo.fasta file with using soapdenovo2 assembly as the input and a reference genome with its gff file. The command is below:
ragoo.py genome.fasta ref_genome.fna -m minimap2-master/minimap2 -gff genomic.gff -b -s -C
According to assembly statistics, nearly half of the assembled genome is aligned to reference genome. I want to use the new reference based oriented ragoo.fasta as the reference genome for variant calling analysis of a sample fastq file. However, when I used ragoo.fasta directly, variant coordinates differ according to original reference genome (ex. I have 200000 bases for 1 contig in ragoo.fasta, however there are 300000 bases for the same contig in original reference genome/assembly). Thus I need a bed file for aligned regions, which I can use in variant calling analysis.
Even I have used -s flag in my code, no bed file was produced under pm_alignments folder. There is just contigs_against_ref.paf file, can I convert this file into bed file, to be used in variant calling analysis?
I look forward to your comments on this,
Best Regards..