-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add extra parameters for MUMme/Circos/dotplot workflow #182
Comments
Thank you for raising this issue @CeciliaDeng No, simply adding a parameter in the
|
Hi @GallVp , It's part of the |
We don't have The current Mummer/Circos involves quite a few steps. The key steps are: mummer/4.0.0/nucmer, dnadiff, and a custom bundle links script. You can include args for
See the full workflow below. assemblyqc/subworkflows/local/fasta_synteny.nf Lines 102 to 200 in 0141925
|
@GallVp 'dnadiff' is just a wrapper script from MUMMer devs to make QOL improvements - it is effectively just running other mummer commands including delat-filter, show_coords etc. My workflow you are using used dnafiff as it gives everything I want from its defaults. You can see the commadss :Output will be... |
@rosscrowhurst Thank you for the input.
|
dnadiff.pl : https://github.com/garviz/MUMmer/blob/master/scripts/dnadiff.pl. Here is a somewhat simple why to do it. OPTION1: do not use dnadiff but run the command chain it wraps as separate commands and add the optional -i 95 to it if set by user. OPTION2: have 2 versions of dnadiff - one called dnadiff (as int eh standard script) and one called dnadiffCD95 (you get the picture) where in you hardcode the -i 95 option in at line 152 153 to contain this required new option. Then use an if else to run based on user setting. sub RunFilter()
} This is the PERL code from dnadiff - they are actually just bash statements that get run by using the perl system command so you could easily just run them using the same logic - you just dont get the customized report at the end. But since my workflow you are using does not actually use that and only really needs the .1coords or .mcoords output files (custom reports and other outputs are useful to look at which is why I use dnadiff but not mandatory to the result for circos use case then cvonverting from using dnadiff to the underlying mummer scripts it wraps is feasible and would allow you to support passing more variables that dnadifff as written does not support
|
@rosscrowhurst That's vey useful. I prefer OPTION1 because it adds a lot of flexibility to the pipeline and also avoids maintenance of a custom version of dnadiff. |
Hi @GallVp ,
For my project, I need to filter the synteny alignment based on a strict identity (for example,
delta-filter -i 95
). How to config this in assemblyQC? One option I'm considering is to addextra_delta-filter_args = "--i 95"
in the assemblyqc/nextflow.config. Will this work?The text was updated successfully, but these errors were encountered: