Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/NCI-RBL/iCLIP into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
slsevilla committed May 25, 2023
2 parents bc65f11 + 9f59405 commit 4fb9392
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/snakemake_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ seedPerReadNmax: 10000 #max number of seeds per read
seedPerWindowNmax: 500 #max number of seeds per window
sjdbScore: 2 #extra alignment score for alignmets that cross database junctions
winAnchorMultimapNmax: 500 #max number of loci anchors are allowed to map to
quantmod: 'TranscriptomeSAM' #additionnal alignment on transcriptome

#########################################################################################
# modules, container parameters
Expand Down
5 changes: 4 additions & 1 deletion workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ star_seed_read = config['seedPerReadNmax']
star_seed_wind = config['seedPerWindowNmax']
star_sj = config['sjdbScore']
star_win_anchor = config['winAnchorMultimapNmax']
star_quantmod = config['quantmod']

# modules, container
cont_dir = config['containerDir']
Expand Down Expand Up @@ -771,6 +772,7 @@ rule star:
s_wind = star_seed_wind,
s_sj = star_sj,
s_anchor = star_win_anchor,
s_quantmod = star_quantmod,
out_prefix = '{sp}_'
envmodules:
config['star'],
Expand Down Expand Up @@ -824,7 +826,8 @@ rule star:
--seedPerReadNmax {params.s_read} \
--seedPerWindowNmax {params.s_wind} \
--sjdbScore {params.s_sj} \
--winAnchorMultimapNmax {params.s_anchor}
--winAnchorMultimapNmax {params.s_anchor} \
--quantMode {params.s_quantmod}
# sort file
samtools sort -m 80G -T $tmp_dir $tmp_dir/{params.out_prefix}Aligned.out.bam -o $tmp_dir/{params.out_prefix}Aligned.sortedByCoord.out.bam
Expand Down

0 comments on commit 4fb9392

Please sign in to comment.