Skip to content

Commit ca00cb1

Browse files
committed
fixed typos for modfinder chapter
1 parent 3170ca2 commit ca00cb1

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

modfinder/add-protein-modification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
How to define a new protein modiifcation?
1+
How to define a new protein modifcation?
22
===
33

44
The protmod module automatically loads [a list of protein modifications](supported-protein-modifications.md) into the protein modification registry. In case you have a protein modification that is not preloaded, it is possible to define it by yourself and add it into the registry.
@@ -84,7 +84,7 @@ ProteinModificationXmlReader.registerProteinModificationFromXml(fis);
8484
Navigation:
8585
[Home](../README.md)
8686
| [Book 6: The ModFinder Modules](README.md)
87-
| Chapter 4 - How to define a new protein modiifcation
87+
| Chapter 4 - How to define a new protein modifcation
8888

8989
Prev: [Chapter 3 : How to identify protein modifications in a structure](identify-protein-modifications.md)
9090

modfinder/identify-protein-modifications.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ How to identify protein modifications in a structure?
77
Set<ModifiedCompound> identifyAllModfications(Structure struc) {
88
ProteinModificationIdentifier parser = new ProteinModificationIdentifier();
99
parser.identify(struc);
10-
Set`<ModifiedCompound> mcs = parser.getIdentifiedModifiedCompound();
10+
Set<ModifiedCompound> mcs = parser.getIdentifiedModifiedCompound();
1111
return mcs;
1212
}
1313
```
@@ -16,12 +16,12 @@ Set<ModifiedCompound> identifyAllModfications(Structure struc) {
1616

1717
```java
1818
List identifyPhosphosites(Structure struc) {
19-
List<ResidueNumber> phosphosites = new ArrayList`();
19+
List<ResidueNumber> phosphosites = new ArrayList<>();
2020
ProteinModificationIdentifier parser = new ProteinModificationIdentifier();
2121
parser.identify(struc, ProteinModificationRegistry.getByKeyword("phosphoprotein"));
22-
Set mcs = parser.getIdentifiedModifiedCompound();
22+
Set<ModifiedCompound> mcs = parser.getIdentifiedModifiedCompound();
2323
for (ModifiedCompound mc : mcs) {
24-
Set` groups = mc.getGroups(true);
24+
Set<StructureGroup> groups = mc.getGroups(true);
2525
for (StructureGroup group : groups) {
2626
phosphosites.add(group.getPDBResidueNumber());
2727
}
@@ -39,22 +39,22 @@ import org.biojava.nbio.structure.io.PDBFileReader;
3939
import org.biojava.nbio.protmod.structure.ProteinModificationIdentifier;
4040

4141
public static void main(String[] args) {
42-
try {`
42+
try {
4343
PDBFileReader reader = new PDBFileReader();
4444
reader.setAutoFetch(true);
4545

4646
// identify all modificaitons from PDB:1CAD and print them
4747
String pdbId = "1CAD";
4848
Structure struc = reader.getStructureById(pdbId);
49-
Set mcs = identifyAllModfications(struc);
49+
Set<ModifiedCompound> mcs = identifyAllModfications(struc);
5050
for (ModifiedCompound mc : mcs) {
5151
System.out.println(mc.toString());
5252
}
5353

5454
// identify all phosphosites from PDB:3MVJ and print them
5555
pdbId = "3MVJ";
5656
struc = reader.getStructureById(pdbId);
57-
List psites = identifyPhosphosites(struc);
57+
List<ResidueNumber> psites = identifyPhosphosites(struc);
5858
for (ResidueNumber psite : psites) {
5959
System.out.println(psite.toString());
6060
}
@@ -72,4 +72,4 @@ Navigation:
7272

7373
Prev: [Chapter 2 : How to get a list of supported protein modifications](supported-protein-modifications.md)
7474

75-
Next: [Chapter 4 : How to define a new protein modiifcation](add-protein-modification.md)
75+
Next: [Chapter 4 : How to define a new protein modifcation](add-protein-modification.md)

modfinder/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BioJava is open source and you can get the code from [Github](https://github.com
66

77
BioJava uses [Maven](http://maven.apache.org/) as a build and distribution system. If you are new to Maven, take a look at the [Getting Started with Maven](http://maven.apache.org/guides/getting-started/index.html) guide.
88

9-
As of version 4, BioJava is available in maven central. This is all you would need to add a BioJava dependency to your projects:
9+
As of version 4, BioJava is available in maven central. This is all you would need to add BioJava dependencies to your project in the `pom.xml` file:
1010

1111
```xml
1212
<dependencies>

modfinder/supported-protein-modifications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
How to get a list of supported protein modifications?
22
===
33

4-
The protmod module contains [an XML file](https://github.com/biojava/biojava/blob/master/biojava-modfinder/src/main/resources/org/biojava/nbio/protmod/ptm_list.xml), defining a list of protein modifications, retrieved from [Protein Data Bank Chemical Component Dictrionary](http://www.wwpdb.org/ccd.html), [RESID](http://pir.georgetown.edu/resid/), and [PSI-MOD](http://www.psidev.info/MOD). It contains many common modifications such glycosylation, phosphorylation, acelytation, methylation, etc. Crosslinks are also included, such disulfide bonds and iso-peptide bonds.
4+
The protmod module contains [an XML file](https://github.com/biojava/biojava/blob/master/biojava-modfinder/src/main/resources/org/biojava/nbio/protmod/ptm_list.xml), defining a list of protein modifications, retrieved from [Protein Data Bank Chemical Component Dictionary](http://www.wwpdb.org/ccd.html), [RESID](http://pir.georgetown.edu/resid/), and [PSI-MOD](http://www.psidev.info/MOD). It contains many common modifications such glycosylation, phosphorylation, acelytation, methylation, etc. Crosslinks are also included, such disulfide bonds and iso-peptide bonds.
55

66
The protmod maintains a registry of supported protein modifications. The list of protein modifications contained in the XML file will be automatically loaded. You can [define and register a new protein modification](add-protein-modification.md) if it has not been defined in the XML file. From the protein modification registry, a user can retrieve:
77
- all protein modifications,

0 commit comments

Comments
 (0)