Skip to content

Commit 01cd882

Browse files
authored
Merge pull request biojava#15 from devldevelopment/patch-1
Addition of imports and maven dependancies
2 parents 75948fc + 39d5198 commit 01cd882

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

structure/secstruc.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,35 @@ package.
198198

199199
### Example
200200

201+
Use dependencies from maven
202+
203+
```xml
204+
<dependency>
205+
<groupId>org.biojava</groupId>
206+
<artifactId>biojava-core</artifactId>
207+
<version>4.2.4</version>
208+
</dependency>
209+
<!-- https://mvnrepository.com/artifact/org.biojava/biojava-modfinder -->
210+
<dependency>
211+
<groupId>org.biojava</groupId>
212+
<artifactId>biojava-modfinder</artifactId>
213+
<version>4.2.4</version>
214+
</dependency>
215+
```
216+
201217
This is taken from the DemoLoadSecStruc example in the **demo** package.
202218

203219
```java
220+
221+
import org.biojava.nbio.structure.Structure;
222+
import org.biojava.nbio.structure.StructureException;
223+
import org.biojava.nbio.structure.align.util.AtomCache;
224+
import org.biojava.nbio.structure.io.FileParsingParameters;
225+
import org.biojava.nbio.structure.secstruc.DSSPParser;
226+
import org.biojava.nbio.structure.secstruc.SecStrucCalc;
227+
import org.biojava.nbio.structure.secstruc.SecStrucInfo;
228+
import org.biojava.nbio.structure.secstruc.SecStrucTools;
229+
204230
public static void main(String[] args) throws IOException,
205231
StructureException {
206232

0 commit comments

Comments
 (0)