-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding interface * updating database documentation * updating running on the cloud instructions * updating database documentation * fixing some typos
- Loading branch information
Showing
3 changed files
with
51 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/main/java/cs321/create/GeneBankFileReaderInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package cs321.create; | ||
|
||
import java.io.IOException; | ||
|
||
/** | ||
* Reads sequences of length k from each position from a GBK GeneBank file from NCBI. | ||
* Methods are available to return sequences of specified length as a long. | ||
* | ||
* @author CS321 Instructors | ||
*/ | ||
public interface GeneBankFileReaderInterface { | ||
|
||
/** | ||
* Gets the next sequence of a given length as a long | ||
* See SequenceUtils for translation utilities | ||
* | ||
* @return the next sequence, formatted as a long | ||
* @throws IOException in case of failed or interrupted I/O | ||
*/ | ||
long getNextSequence() throws IOException; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters