-
Notifications
You must be signed in to change notification settings - Fork 56
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
Include pairtools protocol #162
Labels
enhancement
New feature or request
Milestone
Comments
First test version available with |
The options |
nservant
added a commit
to nservant/nf-core-hic
that referenced
this issue
Jun 15, 2023
First version tested. To further validate before release ... still need to find a way to use the options :
ext.args = { [
"(mapq1>${params.min_mapq} and mapq2>${params.min_mapq})",
params.min_cis_dist > 0 ? " and (abs(pos1-pos2) < ${params.min_cis_dist})" : '',
params.keep_multi ? " and ((pair_type=='UU') or (pair_type=='UR') or (pair_type=='RU') or (pair_type=='MM') or (pair_type=='MU'))" :
" and ((pair_type=='UU') or (pair_type=='UR') or (pair_type=='RU'))",
params.dnase ? '' : " and (abs(int(rfrag1) - int(rfrag2)) > 1)",
//params.min_insert_size > 0 ? " and ( (rfrag_end1 - r1pos) + (rfrag_end2 - r2pos)) > ${params.min_insert_size}" : '',
//params.max_insert_size > 0 ? " and ( (rfrag_end1 - r1pos) + (rfrag_end2 - r2pos)) < ${params.max_insert_size}" : '',
//params.min_restriction_fragment_size > 0 ? " -t ${params.min_restriction_fragment_size}" : '',
//params.max_restriction_fragment_size > 0 ? " -m ${params.max_restriction_fragment_size}" : '',
].join(' ').trim() } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of feature
Add a new paramater
--processing hicpro
or--processing pairtools
propose an alternative to
HiC-Pro
with the analysis protocol proposed by 'dovotail' and based onbwa-mem2
andpairtools
with the following steps :bwa-mem
(version 2 instead of 1)pairtools parse
- get valid ligation product / parameters--min_mapq
pairtools sort
- sorting pairsparitools merge
- merge pairspairtools dedup
- remove PCR dups / parameters--keep_dups
pairtools split
- generate pairs files (and final bam if useful ?)pairtools select
- filter pairspairtools stats
- generate final statsTo validate ;
--keep_multi
?pairtools
with--digestion, --restriction_site, --ligation_site, --chromosome_size, --restriction_fragments
parameters ?pairtools
? options--max_insert_size --min_insert_size --max_restriction_fragment_size --min_fragment_size
--dnase
withpairtools
?--min_cis_dist
) for--dnase
mode with--pairtools
Other ideas:
--dnase
option by--no_digestion
for DNAseq, microC, etc.The text was updated successfully, but these errors were encountered: