From 85835c66de18436b30309e7358a565d9c7993666 Mon Sep 17 00:00:00 2001 From: Maxim Koltsov Date: Thu, 16 May 2024 15:21:50 +0200 Subject: [PATCH] version 0.1.5.5 Add 5ROX modification --- ChangeLog.md | 3 +++ package.yaml | 2 +- src/Bio/FASTA/Parser.hs | 1 + src/Bio/FASTA/Type.hs | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index 4da6cc7..691e873 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,6 +2,9 @@ ## [Unreleased] +## [0.1.5.5] - 2024-05-16 +- Add `5ROX` modification to Fasta parser. + ## [0.1.5.4] - 2024-05-16 - Fix Fasta parser for unknown modifications on the end of the line. diff --git a/package.yaml b/package.yaml index 74431c6..a467a6a 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: cobot-io -version: 0.1.5.4 +version: 0.1.5.5 github: "biocad/cobot-io" license: BSD3 category: Bio diff --git a/src/Bio/FASTA/Parser.hs b/src/Bio/FASTA/Parser.hs index c7bf238..f48ab32 100644 --- a/src/Bio/FASTA/Parser.hs +++ b/src/Bio/FASTA/Parser.hs @@ -127,6 +127,7 @@ modificationP , string "[3CholTEG]" $> Mod_3CholTEG , string "[5C10]" $> Mod_5C10 , string "[5Alk]" $> Mod_5Alk + , string "[5ROX]" $> Mod_5ROX , string "[GC]" $> Mod_GC , string "[GT]" $> Mod_GT , string "[AT]" $> Mod_AT diff --git a/src/Bio/FASTA/Type.hs b/src/Bio/FASTA/Type.hs index 262d70c..7210dec 100644 --- a/src/Bio/FASTA/Type.hs +++ b/src/Bio/FASTA/Type.hs @@ -87,6 +87,7 @@ data Modification | Mod_3CholTEG | Mod_5C10 | Mod_5Alk + | Mod_5ROX | Mod_GC | Mod_GT | Mod_AT @@ -178,6 +179,7 @@ modificationToString Mod_5CholTEG = "[5CholTEG]" modificationToString Mod_3CholTEG = "[3CholTEG]" modificationToString Mod_5C10 = "[5C10]" modificationToString Mod_5Alk = "[5Alk]" +modificationToString Mod_5ROX = "[5ROX]" modificationToString Mod_GC = "[GC]" modificationToString Mod_GT = "[GT]" modificationToString Mod_AT = "[AT]"