Skip to content

Commit

Permalink
In case of median sweep, output empty channelmedians table
Browse files Browse the repository at this point in the history
  • Loading branch information
glormph committed Mar 16, 2020
1 parent 4b05940 commit b45d56b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- conda-forge
- defaults
dependencies:
- bioconda::msgf_plus=2019.07.03
- bioconda::msgf_plus=2020.03.12
- bioconda::hardklor=2.3.0
- bioconda::kronik=2.20
- bioconda::msstitch=2.19
Expand Down
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ process normalizeFeaturesDEqMS {
paste pepacc <(cut -f "\$channelcols" psms) > psmvals
# run deqMS normalization and summarization, which produces logged ratios
${params.denoms ? "denomcols=\$(egrep -n \'(${setdenoms[setname].join('|')})\' <( head -n1 psmvals | tr '\\t' '\\n') | cut -f1 -d ':' | tr '\\n' ',' | sed 's/,\$//') " : ""}
${params.denoms ? "denomcols=\$(egrep -n \'(${setdenoms[setname].join('|')})\' <( head -n1 psmvals | tr '\\t' '\\n') | cut -f1 -d ':' | tr '\\n' ',' | sed 's/,\$//') " : "touch ${setname}_channelmedians"}
deqms_normalize.R psmvals features $setname ${params.denoms ? "\$denomcols" : ''}
# join feat tables on normalized proteins
paste <(head -n1 features) <(head -n1 normalized_feats | cut -f2-2000) <(echo PSM counts) > ${setname}_feats
Expand Down

0 comments on commit b45d56b

Please sign in to comment.