TASSELpy.net.maizegenetics.dna.snp.score package

Submodules

TASSELpy.net.maizegenetics.dna.snp.score.AlleleProbability module

class TASSELpy.net.maizegenetics.dna.snp.score.AlleleProbability.AlleleProbability(*args, **kwargs)[source]

Bases: TASSELpy.net.maizegenetics.dna.snp.score.SiteScore.SiteScore

Representation of allele probabilities

Methods

castTo(pyType) Casts this object to another java/python type
clone(*args) Creates and returns a copy of this object
equals(*args) Indicates whether some other object is “equal to” this one
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getClass(*args) Returns the runtime class of this Object.
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
hasSiteScores(*args) Returns true if this alignment has site scores
hashCode(*args) Returns a hash code vlaue for the object
siteScore(*args) Returns the site score of the given sequence and site
siteScoreType(*args) Return what type of site scores this alignment has
siteScores(*args) Returns the site scores
toString(*args) Returns a string representation of the object
value(*args) Gets the value of the probability at a site
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
__init__(*args, **kwargs)[source]

Instantiates an AlleleProbability object

Signature:AlleleProbability (Byte2D[] values)
Parameters:values (Byte2D[]) – values
value(*args)[source]

Gets the value of the probability at a site

Signature:

value (int taxon, int site, SITE_SCORE_TYPE scoreType)

Parameters:
  • taxon (int) – taxon
  • site (int) – site
  • scoreType (SITE_SCORE_TYPE) – score type
Returns:

The value of the score at the site for the taxon

Return type:

float

TASSELpy.net.maizegenetics.dna.snp.score.Dosage module

class TASSELpy.net.maizegenetics.dna.snp.score.Dosage.Dosage(*args, **kwargs)[source]

Bases: TASSELpy.net.maizegenetics.dna.snp.score.SiteScore.SiteScore

Methods

castTo(pyType) Casts this object to another java/python type
clone(*args) Creates and returns a copy of this object
equals(*args) Indicates whether some other object is “equal to” this one
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getClass(*args) Returns the runtime class of this Object.
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
hasSiteScores(*args) Returns true if this alignment has site scores
hashCode(*args) Returns a hash code vlaue for the object
siteScore(*args) Returns the site score of the given sequence and site
siteScoreType(*args) Return what type of site scores this alignment has
siteScores(*args) Returns the site scores
toString(*args) Returns a string representation of the object
value(*args) Gets the dosage value for a site/taxon
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
__init__(*args, **kwargs)[source]

Instantiates Dosage

Signature:Dosage (Byte2D value)
Parameters:value (Byte2D) – storage of dosage values
value(*args)[source]

Gets the dosage value for a site/taxon

Signature:

value (int taxon, int site)

Parameters:
  • taxon (int) – taxon
  • site (int) – site
Returns:

The value for a taxon/site

Return type:

byte

TASSELpy.net.maizegenetics.dna.snp.score.ReferenceProbability module

class TASSELpy.net.maizegenetics.dna.snp.score.ReferenceProbability.ReferenceProbability(*args, **kwargs)[source]

Bases: TASSELpy.net.maizegenetics.dna.snp.score.SiteScore.SiteScore

ReferenceProbability

Methods

castTo(pyType) Casts this object to another java/python type
clone(*args) Creates and returns a copy of this object
equals(*args) Indicates whether some other object is “equal to” this one
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getClass(*args) Returns the runtime class of this Object.
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
hasSiteScores(*args) Returns true if this alignment has site scores
hashCode(*args) Returns a hash code vlaue for the object
siteScore(*args) Returns the site score of the given sequence and site
siteScoreType(*args) Return what type of site scores this alignment has
siteScores(*args) Returns the site scores
toString(*args) Returns a string representation of the object
value(*args) Gets the value of the Reference probability for a given site and taxon
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
__init__(*args, **kwargs)[source]

Instantiates a ReferenceProbability

Signature:ReferenceProbability (Byte2D value)
Parameters:value (Byte2D) – value
value(*args)[source]

Gets the value of the Reference probability for a given site and taxon

Signature:

value (int taxon, int site)

Parameters:
  • taxon (int) – taxon
  • site (int) – site
Returns:

value for the site/taxon

Return type:

float

TASSELpy.net.maizegenetics.dna.snp.score.SiteScore module

class TASSELpy.net.maizegenetics.dna.snp.score.SiteScore.SiteScore(*args, **kwargs)[source]

Bases: TASSELpy.java.lang.Object.Object

SiteScore

Methods

castTo(pyType) Casts this object to another java/python type
clone(*args) Creates and returns a copy of this object
equals(*args) Indicates whether some other object is “equal to” this one
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getClass(*args) Returns the runtime class of this Object.
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
hasSiteScores(*args) Returns true if this alignment has site scores
hashCode(*args) Returns a hash code vlaue for the object
siteScore(*args) Returns the site score of the given sequence and site
siteScoreType(*args) Return what type of site scores this alignment has
siteScores(*args) Returns the site scores
toString(*args) Returns a string representation of the object
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
SITE_SCORE_TYPE = <None: 0, QualityScore: 1, ReferenceProbablity: 2, Dosage: 3, DepthA: 4, DepthC: 5, DepthG: 6, DepthT: 7, DepthGap: 8, DepthInsertion: 9, ProbA: 10, ProbC: 11, ProbG: 12, ProbT: 13, ProbGap: 14, ProbInsertion: 15>
__init__(*args, **kwargs)[source]
hasSiteScores(*args)[source]

Returns true if this alignment has site scores

Signature:hasSiteScores ()
Returns:true if this alignment has site scores
Return type:boolean
siteScore(*args)[source]

Returns the site score of the given sequence and site

Signature:

siteScore (int taxon, int site)

Parameters:
  • taxon (int) – taxon
  • site (int) – site
Returns:

site score

Return type:

float

siteScoreType(*args)[source]

Return what type of site scores this alignment has

Signature:siteScoreType ()
Returns:site score type
Return type:GenotypeTable.SITE_SCORE_TYPE
siteScores(*args)[source]

Returns the site scores

Signature:siteScores ()
Returns:site scores
Return type:float[][]

Module contents