-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty Output file when using Racon #221
Comments
Hello, Best regards, |
Thank you for the answer! When i run: awk '{s++}END{print s/4}' SRR8494940.fastq i get 113 as a result which measn the mapping was correct, right? |
The dataset you are using has |
I understand, thank you for pointing that out i didn't notice. I tried using this fastq dataset https://www.ebi.ac.uk/ena/browser/view/SRR8494940 with minimap and then racon. Basically with the same commands as before but i got following error: root@4cdaf30ae520:/data/polishing/EscherichiaColi/Racon/EC_ONT_Racon# racon -q 10 -t The head of this file looks like that (i tried to ignore the quality score by using th e-q option):
As i am using docker i tried to find a docker image of minimap1 but couldn't find one which is why i will need to create one myself. For now i also tried using bwa mem instead and got the same issue with an empty polished output file. |
I am able to get it running with the following commands:
You can also use assembler Raven, which runs 2x Racon for polishing, as below:
|
Thank you! I will try this out now, so does using either sam or paf files make a difference here? Also you used minimap1 and not minimap2 right? May i also know why you choose two runs in a row on purpose? Thank you for your help. |
Hello, so i tried the exact same commands as you out and still get this error when running racon: I get a .paf file but then the layout. gfa file after running miniasm ' minimasm -f SRR8494940_1.fastq ovl.sam > layout.gfa' is empty. |
Hello,
i have ann issue with an empty output after polishing with racon. When i run racon on an assembly and a polishing file i get a empty output although it seems like the tool finishes without an error.
To get the overlaps i used minimap2 with these commands:
root@3f197b9f145e:/data/polishing/Racon/EC_ONT_Racon# minimap2 -ax map-ont Ecoli_R.fna SRR8494940.fastq.gz > aln_EC.sam
[M::mm_idx_gen::0.1890.83] collected minimizers
[M::mm_idx_gen::0.2271.17] sorted minimizers
[M::main::0.2281.17] loaded/built the index for 1 target sequence(s)
[M::mm_mapopt_update::0.2441.16] mid_occ = 10
[M::mm_idx_stat] kmer size: 15; skip: 10; is_hpc: 0; #seq: 1
[M::mm_idx_stat::0.2581.15] distinct minimizers: 932055 (97.19% are singletons); average occurrences: 1.044; average spacing: 5.353; total length: 5206604
[M::worker_pipeline::0.5001.70] mapped 113 sequences
[M::main] Version: 2.24-r1122
[M::main] CMD: minimap2 -ax map-ont Ecoli_R.fna SRR8494940.fastq.gz
[M::main] Real time: 0.511 sec; CPU: 0.859 sec; Peak RSS: 0.178 GB
And for polishing i run racon with following commands:
root@3f197b9f145e:/data/polishing/Racon/EC_ONT_Racon# racon -t 5 SRR8494940.fastq.gz aln_EC.sam Ecoli_R.fna > polished_assembly_EC.fasta
[racon::Polisher::initialize] loaded target sequences 0.055208 s
[racon::Polisher::initialize] loaded sequences 0.022606 s
[racon::Polisher::initialize] loaded overlaps 0.013794 s
[racon::Polisher::initialize] aligning overlaps [====================] 0.004770 s
[racon::Polisher::initialize] transformed data into windows 0.002734 s
[racon::Polisher::polish] generating consensus [====================] 0.042274 s
[racon::Polisher::] total = 0.142599 s
What could be the reason for the output to be empty? When i use -u the file contains the unpolished target sequences as it should. Thank you in advance for your answer!
BG
The text was updated successfully, but these errors were encountered: