aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2019-03-06 13:31:04 +1100
committerJustin Bedo <cu@cua0.org>2019-03-06 13:33:16 +1100
commit8fa9b007544a37b2674a2eb87978652e14fbd2b3 (patch)
treed5daf712130853d1c1eaa3c000dadbd1eca483a8 /tools
parentabb7760edbc301256db6fc50b5fd475175bd7606 (diff)
api docs: init facets
Diffstat (limited to 'tools')
-rw-r--r--tools/ascat.nix4
-rw-r--r--tools/facets.nix4
2 files changed, 6 insertions, 2 deletions
diff --git a/tools/ascat.nix b/tools/ascat.nix
index 9e80e4a..700cb4e 100644
--- a/tools/ascat.nix
+++ b/tools/ascat.nix
@@ -6,12 +6,12 @@ with bionix;
app = pkgs.callPackage ./ascat-app.nix {};
/* Generate GC correction file for ascatNGS.
- Type: {ref :: fasta, chrPrefix :: string, ...} -> (snps :: VCF) -> (gc :: GC)
+ Type: gccorrect :: {ref :: fasta, chrPrefix :: string, ...} -> (snps :: VCF) -> (gc :: GC)
*/
gccorrect = callBionixE ./ascat-gccorrect.nix;
/* Call CNVs using ascatNGS. Gender is a string as per ascatNGS docs (e.g., "XX").
- Type: {ref :: fasta, gc :: GC, ...} -> {tumour :: bam, normal :: bam, gender :: string} -> CNVs
+ Type: callCNV :: {ref :: fasta, gc :: GC, ...} -> {tumour :: bam, normal :: bam, gender :: string} -> CNVs
*/
callCNV = callBionixE ./ascat-callCNV.nix;
}
diff --git a/tools/facets.nix b/tools/facets.nix
index ed10ffa..523c72a 100644
--- a/tools/facets.nix
+++ b/tools/facets.nix
@@ -4,5 +4,9 @@ with bionix;
{
app = lib.callPackageWith (pkgs // pkgs.rPackages) ./facets-app.nix {};
+
+ /* Call CNVs
+ Type: callCnv :: {...} -> {vcf, bams :: [bams]} -> CNVs
+ */
callCNV = callBionix ./facets-call.nix;
}