diff --git a/ComplementaryScripts/newRelease.m b/ComplementaryScripts/newRelease.m index ac107eb..a66b7f1 100644 --- a/ComplementaryScripts/newRelease.m +++ b/ComplementaryScripts/newRelease.m @@ -17,7 +17,7 @@ function newRelease(bumpType) end %Bump version number: -oldModel = load('ModelFiles/mat/Sco.mat'); +oldModel = load('../ModelFiles/mat/Sco.mat'); oldVersion = oldModel.model.description; oldVersion = oldVersion(strfind(oldVersion,'_v')+2:end); oldVersion = str2double(strsplit(oldVersion,'.')); @@ -38,7 +38,7 @@ function newRelease(bumpType) newVersion = num2str(newVersion,'%d.%d.%d'); %Check if history has been updated: -fid = fopen('history.md','r'); +fid = fopen('../history.md','r'); history = fscanf(fid,'%s'); fclose(fid); if ~contains(history,['Sco' newVersion ':']) @@ -46,16 +46,16 @@ function newRelease(bumpType) end %Load model: -model = importModel('ModelFiles/xml/Sco.xml'); +model = importModel('../ModelFiles/xml/Sco.xml'); %Include tag and save model: -model.description = ['v' newVersion]; +model.description = ['Streptomyces coelicolor-GEM_v' newVersion]; %Save model -exportForGit(model,'Sco','',{'mat', 'txt', 'xlsx', 'xml', 'yml'}); +exportForGit(model,'Sco','..',{'mat', 'txt', 'xlsx', 'xml', 'yml'}); %Update version file: -fid = fopen('version.txt','wt'); +fid = fopen('../version.txt','wt'); fprintf(fid,newVersion); fclose(fid); end \ No newline at end of file diff --git a/ModelFiles/mat/Sco.mat b/ModelFiles/mat/Sco.mat new file mode 100644 index 0000000..f39ace5 Binary files /dev/null and b/ModelFiles/mat/Sco.mat differ diff --git a/ModelFiles/xlsx/Sco.xlsx b/ModelFiles/xlsx/Sco.xlsx new file mode 100644 index 0000000..4d4df7d Binary files /dev/null and b/ModelFiles/xlsx/Sco.xlsx differ diff --git a/ModelFiles/xml/Sco.xml b/ModelFiles/xml/Sco.xml index 05fb1a7..3cff160 100644 --- a/ModelFiles/xml/Sco.xml +++ b/ModelFiles/xml/Sco.xml @@ -1,6 +1,6 @@ - + @@ -19,10 +19,10 @@ - 2018-05-14T11:27:30Z + 2018-05-14T14:37:43Z - 2018-05-14T11:27:30Z + 2018-05-14T14:37:43Z diff --git a/history.md b/history.md new file mode 100644 index 0000000..6e18f10 --- /dev/null +++ b/history.md @@ -0,0 +1,7 @@ +Sco 4.0.0: +New _S. coelicolor_ genome scale model, based on iMK1208. +* New features: + * Extended with reactions from MetaCyc- and KEGG-based reconstructions with [RAVEN Toolbox 2](https://github.com/SysBioChalmers/RAVEN). + * Updated annotation of metabolites and reactions + * SBML L3V1 FBCv2 compatible + * Standardized GitHub repository for easy collaboration, with `newCommit` and `newRelease` functions diff --git a/version.txt b/version.txt new file mode 100644 index 0000000..0c89fc9 --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +4.0.0 \ No newline at end of file