Skip to content
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

contigs contain 'NNNNNN' ?? #81

Open
ye00ye opened this issue Jun 29, 2023 · 9 comments
Open

contigs contain 'NNNNNN' ?? #81

ye00ye opened this issue Jun 29, 2023 · 9 comments

Comments

@ye00ye
Copy link

ye00ye commented Jun 29, 2023

Hello! I'm using OPERA-MS to assembly NGS and nanopore reads.

the key parameters were set as ''--short-read1 {R1} --short-read2 {R2} --long-read {TGS} --out-dir {out_dir} --no-polishing --no-ref-clustering --no-gap-filling''

the result was named as contigs.fasta, but many contigs contain 'N', so I want to know what really the result is, contigs or scaffolds ?

Thanks for your help

I found same problem was asked in #75, but I still don't know what the answer is

@jsgounot
Copy link
Contributor

jsgounot commented Jun 30, 2023

Hello ye00ye,

As you can see in the figure I shared in the other thread, OPERA-MS uses OPERA-LG to scaffolds contigs. So the contigs.fa file is indeed composed of scaffolds. Sorry for the misunderstanding, we kept the name to avoid compatibility issues. Because you used option no-gap-filling, you will have N parts generated from the scaffolding.

Edit, further quote is actually wrong. There are no bugs in OPERA-MS right now regarding this option.

Now the more puzzling part is that your issue made me find another bug in OPERA-MS where --no-gap-filling does not have the expected behavior. Meaning that in your run, you probably did run the gap-filling part, which should have fill the Ns gap, at least most of them.

Therefore, would you be able to share in this thread:

  1. The stdout output of your OPERA-MS command line with the timeline.
  2. What is the number of % of N in your final assembly?

Thank you very much!

@jsgounot
Copy link
Contributor

jsgounot commented Jul 4, 2023

Hello ye00ye,

I updated my previous answer, the option works as intended and there is actually no bug here. In your case, you used no-gap-filling, OPERA-MS therefore did not cover the gap generated with OPERA-LG scaffolding. If you do not use this option, you should not have N in your final file.

Hope it helps.
JS

@ye00ye
Copy link
Author

ye00ye commented Jul 4, 2023 via email

@ye00ye
Copy link
Author

ye00ye commented Jul 5, 2023 via email

@jsgounot
Copy link
Contributor

jsgounot commented Jul 5, 2023

Hi ye00ye,

Can you also share the content of the tilling_1.err file?

Thanks,
JS

@ye00ye
Copy link
Author

ye00ye commented Jul 6, 2023 via email

@jsgounot
Copy link
Contributor

jsgounot commented Jul 7, 2023

You don't see a tilling_1.err file at this location: /project/huangqiang/NTGS/opera-ms/bc2020_nanopore_ngs//intermediate_files/opera_long_read/GAPFILLING/TILLING/tilling_1.err? That's weird. What about this file: /project/huangqiang/NTGS/opera-ms/bc2020_nanopore_ngs//intermediate_files/opera_long_read/GAPFILLING/TILLING/tilling_1.out?

Can you check you're able to run one of the Mummer executables? Like nucmer, should be here: /project/RD/bin/OPERA-MS//tools_opera_ms//MUMmer3.23/nucmer

If you did not find the file before, can you try to run the command line here: /project/RD/bin/OPERA-MS//tools_opera_ms//perl /project/RD/bin/OPERA-MS//OPERA-LG/bin//run_mummer_large_ref.pl /project/huangqiang/NTGS/opera-ms/bc2020_nanopore_ngs//intermediate_files/opera_long_read/GAPFILLING/TILLING/consensus.fa /project/huangqiang/NTGS/opera-ms/bc2020_nanopore_ngs//intermediate_files/opera_long_read/GAPFILLING/TILLING/REF /project/huangqiang/NTGS/opera-ms/bc2020_nanopore_ngs//intermediate_files/user_assembly/contigs.fasta /project/huangqiang/NTGS/opera-ms/bc2020_nanopore_ngs//intermediate_files/opera_long_read/GAPFILLING/TILLING/QUERY /project/huangqiang/NTGS/opera-ms/bc2020_nanopore_ngs//intermediate_files/opera_long_read/GAPFILLING /project/huangqiang/NTGS/opera-ms/bc2020_nanopore_ngs//intermediate_files/opera_long_read/GAPFILLING/TILLING/first_tilling.coords 10 /project/RD/bin/OPERA-MS//tools_opera_ms//MUMmer3.23/?

Thanks,
JS

@ye00ye
Copy link
Author

ye00ye commented Jul 7, 2023 via email

@jsgounot
Copy link
Contributor

Hi,

this might be an installation issue (see other issues). You need to open the cmd_delta.txt file, try to run one command and see what happen.

Regards,
Jean-Sebastien

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants