GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — quantms/modules/local/openms/falsediscoveryrate/main.nf at dev · nf-core/quantms

This repository was archived by the owner on May 6, 2024. It is now read-only.

Expand file tree

/

main.nf

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
39 lines (33 loc) · 1.22 KB
/

main.nf

Copy path

File metadata and controls

39 lines (33 loc) · 1.22 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
process FALSEDISCOVERYRATE {
tag "$meta.mzml_id"
label 'process_low'
label 'process_single'
label 'openms'
conda "bioconda::openms-thirdparty=3.1.0"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/openms-thirdparty:3.1.0--h9ee0642_1' :
'biocontainers/openms-thirdparty:3.1.0--h9ee0642_1' }"
input:
tuple val(meta), path(id_file)
output:
tuple val(meta), path("${id_file.baseName}_fdr.idXML"), emit: id_files_idx_ForIDPEP_FDR
path "versions.yml", emit: version
path "*.log", emit: log
script:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.mzml_id}"
"""
FalseDiscoveryRate \\
-in ${id_file} \\
-out ${id_file.baseName}_fdr.idXML \\
-threads $task.cpus \\
-algorithm:add_decoy_peptides \\
-algorithm:add_decoy_proteins \\
$args \\
2>&1 | tee ${id_file.baseName}_fdr.log
cat <<-END_VERSIONS > versions.yml
"${task.process}":
FalseDiscoveryRate: \$(FalseDiscoveryRate 2>&1 | grep -E '^Version(.*)' | sed 's/Version: //g' | cut -d ' ' -f 1)
END_VERSIONS
"""
}
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.