Closed pi3rrr3 closed 7 years ago
Hi, it looks like you are giving Racon the pairwise read-to-read overlaps, instead of read-to-contigs mappings, that's why the qnames cannot be found. After your assembly steps:
minimap/minimap -x ava10k -t24 filtered_subreads.fastq.gz filtered_subreads.fastq.gz | gzip -1 > 14smrt.paf.gz
miniasm/miniasm -f filtered_subreads.fastq.gz 14smrt.paf.gz > 14smrt.gfa
map the reads with something like:
minimap/minimap 14smrt.fasta filtered_subreads.fastq.gz > mappings.paf
bin/racon -v 9 -t 16 filtered_subreads.fastq.gz mappings.paf 14smrt.gfa racon1_consensus.fa
You will need to convert the assembly .gfa to .fasta format, you can simply awk:
awk '$1 ~/S/ {print ">"$2"\n"$3}' 14smrt.gfa > 14smrt.fasta
Hope this helps! Best regards, Ivan.
Hello Ivan,
Thanks for the detailed answer, I got confused with the different .paf outputs... Racon now works perfectly fine!
Best, Pierre
Hello,
I am getting the same error but my aim is not "pair vs pair mapping". I have contigs from canu and I would like to map my raw reads to canu's contigs.
(Again) in this pipeline, only minimap step is done but when I do that I get the following error. https://github.com/nanoporetech/ont-assembly-polish/blob/master/analysis.mk
Error
Could not find qname 'some' in the input contigs file! Exiting.In function: 'ParsePAF'.
Exiting.
Here is my command line option.
minimap ~/kefal_genome_canu_lowcov/kefal-low.contigs.fasta ~/kefal_genome_miniasm/kefal_pacbio_bigfile_fastq/kefal_pacbio_bigfile.fastq > minimap_overlaps.paf
Am I missing the miniasm step ? Becasuse I dont do miniasm.
I would be more than glad if you can help me out with this problem (again).
Best regards,
Tunc.
Hi Tunc, can you please paste your racon command here?
Best regards, Robert
Rvaser
I had two canu runs for a single reads. One regular and one with low coverage options. I accidentally mixed up paths. I think thats why get the error.
I fixed them and my racon worked very well. (well it finished without any error :D)
I am sorry. The mistake on my side.
Best regards Tunc.
Hello,
After having ran minimap/miniasm on ~55x of PacBio data, I used Racon and ended with the following error:
However, if I check the .paf file:
I don't get it... Here are my minimap/miniasm commands:
Thanks for your help!