Skip to content

Commit

Permalink
Merge pull request #628 from fnothaft/serialize-ref-file
Browse files Browse the repository at this point in the history
[ADAM-627] Makes ReferenceFile trait extend Serializable.
  • Loading branch information
massie committed Apr 2, 2015
2 parents 0056d73 + 7dad958 commit 36f574c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ import org.bdgenomics.adam.models.ReferenceRegion
/**
* File that contains a reference assembly that can be broadcasted
*/
trait ReferenceFile {
trait ReferenceFile extends Serializable {
/**
* Extract reference sequence from the .2bit data.
* Extract reference sequence from the file.
*
* @param region The desired ReferenceRegion to extract.
* @return The reference sequence at the desired locus.
*/
def extract(region: ReferenceRegion): String
}
}

0 comments on commit 36f574c

Please sign in to comment.