Skip to content

Commit

Permalink
Merge pull request #454 from daichengxin/dev
Browse files Browse the repository at this point in the history
Support for DIANN 1.9.2, output all files.
  • Loading branch information
ypriverol authored Dec 4, 2024
2 parents e50daae + c7d413d commit 235dbba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions modules/local/diannsummary/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ process DIANNSUMMARY {

output:
path "diann_report.tsv", emit: main_report
path "diann_report.parquet", emit: report_parquet optional true
path "diann_report.protein_description.tsv", emit: protein_description optional true
path "diann_report.stats.tsv", emit: report_stats
path "diann_report.pr_matrix.tsv", emit: pr_matrix
path "diann_report.pg_matrix.tsv", emit: pg_matrix
path "diann_report.gg_matrix.tsv", emit: gg_matrix
path "diann_report.unique_genes_matrix.tsv", emit: unique_gene_matrix
path "diannsummary.log", emit: log

// Different library files format are exported due to different DIA-NN versions
path "empirical_library.tsv", emit: final_speclib optional true
path "empirical_library.tsv.skyline.speclib", emit: skyline_speclib optional true
Expand Down
2 changes: 1 addition & 1 deletion modules/local/openms/extractpsmfeatures/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ process EXTRACTPSMFEATURES {
def prefix = task.ext.prefix ?: "${meta.mzml_id}"

feature = ""
if (params.ms2rescore && params.id_only) {
if (params.ms2rescore) {
feature = "-extra \$(awk 'NR > 1 && \$1 !~ /psm_file/ {printf \"%s \", \$2}' ${extra_feat})"
}

Expand Down

0 comments on commit 235dbba

Please sign in to comment.