Skip to content

Commit

Permalink
Add GeneratorInfo #56
Browse files Browse the repository at this point in the history
  • Loading branch information
zjzxiaohei committed Sep 25, 2024
1 parent db050b2 commit 3140c59
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public CoverageModel(

@GeneratorInfo(
name = "CoverageModel",
description = "")
narrativeName = "coverage model",
description = "A model to simulate the coverage at each site in each cell")
@Override
public RandomVariable<Integer[][]> sample(){
int n = alpha.value().length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public PloidyModel(

@GeneratorInfo(
name = "Ploidy",
narrativeName = "ploidy model",
description = "Observed ploidy after allelic dropout.")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import lphy.core.model.GenerativeDistribution;
import lphy.core.model.RandomVariable;
import lphy.core.model.Value;
import lphy.core.model.annotation.GeneratorInfo;
import lphy.core.model.annotation.ParameterInfo;
import phylonco.lphy.evolution.datatype.PhasedGenotype;
import phylonco.lphy.evolution.datatype.PhasedGenotypeState;
Expand Down Expand Up @@ -61,6 +62,10 @@ public ReadCountModel(
this.w = w;
}

@GeneratorInfo(name = "ReadCountModel",
narrativeName = "read count model",
description = "A model to simulate the read counts at each site in each cell.")

// D ~ GT16 genotypes (Alignment)
// t ~ ...
// return ACGT {{1,2,3,4}, {4,5,6,7}, ... }
Expand Down

0 comments on commit 3140c59

Please sign in to comment.