-
Notifications
You must be signed in to change notification settings - Fork 57
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
bump v1.1.0 #37
bump v1.1.0 #37
Conversation
ready for first release
update changelog for nf-core release
update dev branch
Will wait until Travis finishes for review |
hummm ... still this 'lint' issue I guess ... |
is working well ... why lint cannot find it ? |
Fixed by moving to lint 1.7 |
ready for review ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor stuff - mainly the docs are to be updated to link to nf-core webpage documentation for the central portions (see review in detail or ask 👍 )
Otherwise looking really good, thanks a bunch!
Co-Authored-By: Alexander Peltzer <apeltzer@users.noreply.github.com>
Co-Authored-By: Alexander Peltzer <apeltzer@users.noreply.github.com>
ok. Docs have been updated and replaced by links to the main nf-core. |
Thanks for the review Alex ! Should we wait for another review ? or I can force the merge ? |
Two reviews for everything on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @nservant . It seems like you have "partly" updated the code to reflect tools v1.7
? Possibly worth updating all of the files because it will make the merge easier when the automated syncing comes into play.
Few questions/amendments:
- It seems you have updated the main README to point to the docs on the website but you will also need to update:
https://github.com/nf-core/hic/blob/dev/docs/README.md conf/curie.config
should be uploaded tonf-core/configs
and so can be removed here. Not entirely sure whathicpro.config
is doing?- Update
base.config
to use processlabel
instead ofwithName
:
https://github.com/nf-core/tools/blob/2d324b4334658e1cd907289b4a7497abf5ef4191/nf_core/pipeline-template/%7B%7Bcookiecutter.name_noslash%7D%7D/conf/base.config#L29-L46 - The indentation in
process
sections dont seem to be consistent. def nfcoreHeader()
inmain.nf
has been fixed inv1.7
template to remove the dreaded2m]
print to screen. You may want to update this.multiqc_config.yaml
is present inconf/
andassets/
. Keep the one in the latter.- Only some parameters are printed here:
Line 240 in 97d3d5d
summary['splitFastq'] = params.splitFastq - Step numbering isnt correct:
Line 835 in 97d3d5d
* STEP 3 - Output Description HTML - You could re-order/segment the parameter listing a little better with sub-headings because its a bit confusing at the moment as to which part of the pipeline that parameters will be used:
Lines 38 to 61 in 97d3d5d
Options: --bwt2_opts_end2end Options for bowtie2 end-to-end mappinf (first mapping step). See hic.config for default. --bwt2_opts_trimmed Options for bowtie2 mapping after ligation site trimming. See hic.config for default. --min_mapq Minimum mapping quality values to consider. Default: 10 --restriction_site Cutting motif(s) of restriction enzyme(s) (comma separated). Default: 'A^AGCTT' --ligation_site Ligation motifs to trim (comma separated). Default: 'AAGCTAGCTT' --min_restriction_fragment_size Minimum size of restriction fragments to consider. Default: None --max_restriction_framgnet_size Maximum size of restriction fragmants to consider. Default: None --min_insert_size Minimum insert size of mapped reads to consider. Default: None --max_insert_size Maximum insert size of mapped reads to consider. Default: None --saveInteractionBAM Save BAM file with interaction tags (dangling-end, self-circle, etc.). Default: False --dnase Run DNase Hi-C mode. All options related to restriction fragments are not considered. Default: False --min_cis_dist Minimum intra-chromosomal distance to consider. Default: None --rm_singleton Remove singleton reads. Default: true --rm_multi Remove multi-mapped reads. Default: true --rm_dup Remove duplicates. Default: true --bin_size Bin size for contact maps (comma separated). Default: '1000000,500000' --ice_max_iter Maximum number of iteration for ICE normalization. Default: 100 --ice_filter_low_count_perc Percentage of low counts columns/rows to filter before ICE normalization. Default: 0.02 --ice_filter_high_count_perc Percentage of high counts columns/rows to filter before ICE normalization. Default: 0 --ice_eps Convergence criteria for ICE normalization. Default: 0.1
e.g.
https://github.com/nf-core/chipseq/blob/333bba334512625775157aa0087c023cf0bde397/main.nf#L28-L72
Fixed:
Requires more discussion:
Why ? I like the idea of specifing for each tool the best parameters ... I'm not a big fan of 'low', 'medium', 'high' groups of process ...
Could give me some lines please ?
Not sure to understand what you mean |
For some processes you have indented the lines after the Lines 407 to 413 in 3273c92
and for others you havent: Lines 381 to 385 in 3273c92
|
You have many more parameters in the pipeline that arent specified here and therefore they wont be printed at run-time: Lines 241 to 248 in 3273c92
|
If you want to keep the resource definitions in |
@drpatelh everything is fixed now, except i/ pictures in the doc and ii/ options format |
Ok. Thanks @nservant . Ill have another look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nservant . Looks much better. Thanks for making those changes. Couple more minor things I just noticed.
- "message" and not "emssage" here:
Line 88 in f9768e9
// Show help emssage - Need to change this line to get rid of the
2m]
too:
Line 284 in f9768e9
log.info "\033[2m----------------------------------------------------\033[0m"
see:
https://github.com/nf-core/tools/blob/2d324b4334658e1cd907289b4a7497abf5ef4191/nf_core/pipeline-template/%7B%7Bcookiecutter.name_noslash%7D%7D/main.nf#L149 - Remove
Fmt
in this code block. See:
https://github.com/nf-core/tools/blob/2d324b4334658e1cd907289b4a7497abf5ef4191/nf_core/pipeline-template/%7B%7Bcookiecutter.name_noslash%7D%7D/main.nf#L363-L367
As above, there are a few other things too that would have been sorted out with a full sync of the latest pipeline template. I guess they can wait until the next release.
Happy for you to merge after you have sorted out the listed comments 👍
Also, you will need to add a date to the CHANGELOG
when you merge to master
Co-Authored-By: Harshil Patel <drpatelh@users.noreply.github.com>
ok, last changes done ! Thanks @drpatelh |
Many thanks to contributing to nf-core/hic!
Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs).
PR checklist
nextflow run . -profile test,docker
).nf-core lint .
).docs
is updatedCHANGELOG.md
is updatedREADME.md
is updatedLearn more about contributing: https://github.com/nf-core/hic/tree/master/.github/CONTRIBUTING.md