Files
p2rank/breaking-changes.md
2020-11-17 02:44:06 +01:00

1.6 KiB

Breaking changes

Introduction

This file collects backwards incompatible changes that have potential to break code that uses P2Rank.

These include:

  • changes in the command line interface
  • changes in the input/output format
  • changes in default behaviour

All changes of that type should be rare and should be all listed here.

List of changes

2.3-dev.x

Prediction
Training new models
  • parameter -extra_features was renamed to -features
  • command line format of parameters values with type List<String> and List<List<String>> has changed
    • now only comas , are delimeters and inner parentheses are respected
    • before . was used as an alternative delimeter and delimeter for inner lists, now it is part of element value
    • Examples:
      • '(a.b.c)' was interpreted as list of 3 elements, now it defines list of 1 element: a.b.c
      • list of lists value '((a.b.c),(d.e))' should be changed to '((a,b,c),(d,e))'
  • Changes in csv_file_feature
    • renamed to csv
    • introduced parameter -feat_csv_columns (type: List<String>). Names of enabled value columns from csv files must be listed here. Columns not listed are ignored.
    • introduced parameter -feat_csv_ignore_missing (type: boolean, default: false). If true, then feature ignores:
      • missing csv files for proteins
      • missing value columns
      • missing rows for atoms or residues

2.2

  • parameter -conservation_dir (type: String) was renamed to -conservation_dirs (type: List<String>)
  • column probability was added to *_predictions.csv output file