Skip to content

Commit

Permalink
Merge pull request #44 from Leon-Bichmann/master
Browse files Browse the repository at this point in the history
1.2.4
  • Loading branch information
Leon-Bichmann authored Feb 6, 2019
2 parents 33a90cc + 7a6e9aa commit b38ab98
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ before_install:
# Pull the docker image first so the test doesn't wait for this
- docker pull nfcore/mhcquant:dev
# Fake the tag locally so that the pipeline runs properly
- docker tag nfcore/mhcquant:dev nfcore/mhcquant:1.2.3
- docker tag nfcore/mhcquant:dev nfcore/mhcquant:1.2.4

install:
# Install Nextflow
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# nf-core/mhcquant: Changelog

## v1.2.4 nf-core/mhcquant "Golden Eagle" - 2019/02/02

### `Fixed`
fixed refine_fdr_on_predicted_subset float error

## v1.2.3 nf-core/mhcquant "Golden Eagle" - 2019/02/02

### `Fixed`
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ COPY environment.yml /
COPY environment-percolator.yml /
RUN conda env create -f /environment.yml && conda clean -a
RUN conda env create -f /environment-percolator.yml && conda clean -a
ENV PATH /opt/conda/envs/nf-core-mhcquant-1.2.3/bin:$PATH
ENV PATH /opt/conda/envs/nf-core-mhcquant-percolator-1.2.3/bin:$PATH
ENV PATH /opt/conda/envs/nf-core-mhcquant-1.2.4/bin:$PATH
ENV PATH /opt/conda/envs/nf-core-mhcquant-percolator-1.2.4/bin:$PATH
6 changes: 3 additions & 3 deletions Singularity
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Bootstrap:docker

%labels
DESCRIPTION Singularity image containing all requirements for the nf-core/mhcquant pipeline
VERSION 1.2.3
VERSION 1.2.4

%environment
PATH=/opt/conda/envs/nf-core-mhcquant-1.2.3/bin:$PATH
PATH=/opt/conda/envs/nf-core-mhcquant-percolator-1.2.3/bin:$PATH
PATH=/opt/conda/envs/nf-core-mhcquant-1.2.4/bin:$PATH
PATH=/opt/conda/envs/nf-core-mhcquant-percolator-1.2.4/bin:$PATH
export PATH

%files
Expand Down
2 changes: 1 addition & 1 deletion bin/mhcflurry_predict_mztab_for_filtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
print allele
predictor = Class1AffinityPredictor.load()
df_pred=predictor.predict_to_dataframe(allele=allele, peptides=seqs_new_greater_qval)
seqs_filtered+=df_pred[df_pred['prediction']<=sys.argv[-5]]['peptide'].values.tolist()
seqs_filtered+=df_pred[df_pred['prediction']<=float(sys.argv[-5])]['peptide'].values.tolist()

#merge sequence lists and append decoys
seqs_new_all=list(set(seqs_new_smaller_qval+seqs_filtered))
Expand Down
2 changes: 1 addition & 1 deletion environment-percolator.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: nf-core-mhcquant-percolator-1.2.3
name: nf-core-mhcquant-percolator-1.2.4
channels:
- bioconda
- conda-forge
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: nf-core-mhcquant-1.2.3
name: nf-core-mhcquant-1.2.4
channels:
- bioconda
- conda-forge
Expand Down
2 changes: 2 additions & 0 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,7 @@ process filter_by_q_value_first {
* STEP 12.1 - option refine_fdr_on_predicted_subset: export filtered percolator results as mztab
*/
process export_mztab_perc {
publishDir "${params.outdir}/Intermediate_Results/"

input:
file percolator_mztab from id_files_merged_psm_perc_filtered_refine
Expand All @@ -737,6 +738,7 @@ process export_mztab_perc {
* STEP 12.2 - option refine_fdr_on_predicted_subset: export psm results as mztab
*/
process export_mztab_psm {
publishDir "${params.outdir}/Intermediate_Results/"

input:
file psm_mztab from id_files_merged_psm_refine
Expand Down
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// Global default params, used in configs
params {

container = 'nfcore/mhcquant:1.2.3' // Container slug. Stable releases should specify release tag!
container = 'nfcore/mhcquant:1.2.4' // Container slug. Stable releases should specify release tag!

help = false
mzmls = "data/*.mzML"
Expand Down Expand Up @@ -123,7 +123,7 @@ manifest {
description = 'Identify and quantify peptides from mass spectrometry raw data'
mainScript = 'main.nf'
nextflowVersion = '>=0.32.0'
version = '1.2.3'
version = '1.2.4'
}

// Function to ensure that resource requirements don't go beyond
Expand Down

0 comments on commit b38ab98

Please sign in to comment.