Search in sources :

Example 16 with IsoformPEFFHeader

use of org.nextprot.api.core.domain.IsoformPEFFHeader in project nextprot-api by calipho-sib.

the class IsoformPEFFHeaderBuilderTest method testProcessedMoleculeFormat.

@Test
public void testProcessedMoleculeFormat() throws Exception {
    IsoformPEFFHeader peff = newIsoformPEFFHeaderBuilder("NX_P52701-1").withProcessedMoleculeFormat().build();
    Assert.assertEquals("\\Processed=(1|1360|mature protein)", peff.getProcessedMoleculeFormat());
}
Also used : IsoformPEFFHeader(org.nextprot.api.core.domain.IsoformPEFFHeader) CoreUnitBaseTest(org.nextprot.api.core.test.base.CoreUnitBaseTest) Test(org.junit.Test)

Example 17 with IsoformPEFFHeader

use of org.nextprot.api.core.domain.IsoformPEFFHeader in project nextprot-api by calipho-sib.

the class IsoformPEFFHeaderBuilderTest method testModResPsiFormat.

@Test
public void testModResPsiFormat() throws Exception {
    IsoformPEFFHeader peff = newIsoformPEFFHeaderBuilder("NX_P52701-1").withModResFormats().build();
    Assert.assertEquals("\\ModResPsi=(8|MOD:00048|O4'-phospho-L-tyrosine)(14|MOD:00046|O-phospho-L-serine)(41|MOD:00046|O-phospho-L-serine)(43|MOD:00046|O-phospho-L-serine)(51|MOD:00046|O-phospho-L-serine)(65|MOD:00046|O-phospho-L-serine)(70|MOD:00064|N6-acetyl-L-lysine)(79|MOD:00046|O-phospho-L-serine)(86|MOD:00047|O-phospho-L-threonine)(87|MOD:00046|O-phospho-L-serine)(91|MOD:00046|O-phospho-L-serine)(137|MOD:00046|O-phospho-L-serine)(139|MOD:00047|O-phospho-L-threonine)(144|MOD:00046|O-phospho-L-serine)(200|MOD:00046|O-phospho-L-serine)(212|MOD:00047|O-phospho-L-threonine)(213|MOD:00047|O-phospho-L-threonine)(214|MOD:00048|O4'-phospho-L-tyrosine)(216|MOD:00047|O-phospho-L-threonine)(219|MOD:00046|O-phospho-L-serine)(227|MOD:00046|O-phospho-L-serine)(252|MOD:00046|O-phospho-L-serine)(254|MOD:00046|O-phospho-L-serine)(256|MOD:00046|O-phospho-L-serine)(261|MOD:00046|O-phospho-L-serine)(269|MOD:00047|O-phospho-L-threonine)(274|MOD:00046|O-phospho-L-serine)(275|MOD:00046|O-phospho-L-serine)(279|MOD:00046|O-phospho-L-serine)(280|MOD:00046|O-phospho-L-serine)(285|MOD:00046|O-phospho-L-serine)(292|MOD:00046|O-phospho-L-serine)(305|MOD:00047|O-phospho-L-threonine)(309|MOD:00046|O-phospho-L-serine)(328|MOD:00046|O-phospho-L-serine)(330|MOD:00046|O-phospho-L-serine)(331|MOD:00046|O-phospho-L-serine)(334|MOD:00134|N6-glycyl-L-lysine)(486|MOD:00047|O-phospho-L-threonine)(488|MOD:00047|O-phospho-L-threonine)(504|MOD:00064|N6-acetyl-L-lysine)(519|MOD:00134|N6-glycyl-L-lysine)(610|MOD:00134|N6-glycyl-L-lysine)(632|MOD:00134|N6-glycyl-L-lysine)(728|MOD:00134|N6-glycyl-L-lysine)(771|MOD:00134|N6-glycyl-L-lysine)(824|MOD:00134|N6-glycyl-L-lysine)(830|MOD:00046|O-phospho-L-serine)(840|MOD:00046|O-phospho-L-serine)(935|MOD:00046|O-phospho-L-serine)(1010|MOD:00047|O-phospho-L-threonine)(1296|MOD:00134|N6-glycyl-L-lysine)(1315|MOD:00134|N6-glycyl-L-lysine)(1325|MOD:00134|N6-glycyl-L-lysine)(1352|MOD:00134|N6-glycyl-L-lysine)(1358|MOD:00134|N6-glycyl-L-lysine)", peff.getModResPsiFormat());
}
Also used : IsoformPEFFHeader(org.nextprot.api.core.domain.IsoformPEFFHeader) CoreUnitBaseTest(org.nextprot.api.core.test.base.CoreUnitBaseTest) Test(org.junit.Test)

Example 18 with IsoformPEFFHeader

use of org.nextprot.api.core.domain.IsoformPEFFHeader in project nextprot-api by calipho-sib.

the class IsoformPEFFHeaderBuilderTest method testGNameFormat.

@Test
public void testGNameFormat() throws Exception {
    IsoformPEFFHeader peff = newIsoformPEFFHeaderBuilder("NX_P52701-1").withGeneNameFormat().build();
    Assert.assertEquals("\\GName=MSH6", peff.getGeneNameFormat());
}
Also used : IsoformPEFFHeader(org.nextprot.api.core.domain.IsoformPEFFHeader) CoreUnitBaseTest(org.nextprot.api.core.test.base.CoreUnitBaseTest) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)18 IsoformPEFFHeader (org.nextprot.api.core.domain.IsoformPEFFHeader)18 CoreUnitBaseTest (org.nextprot.api.core.test.base.CoreUnitBaseTest)18