# HG changeset patch # User chrisd # Date 1467168568 14400 # Node ID 59c6a5729ce0ae8856790ab0545c5c8a7a50af52 # Parent 17bce2f348b6891abb21fdd686fd2f825845afad planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/coverage_sampler commit 1127fb7751ab1d3feb4273f23ae3cfea304e0961-dirty diff -r 17bce2f348b6 -r 59c6a5729ce0 README.md --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.md Tue Jun 28 22:49:28 2016 -0400 @@ -0,0 +1,36 @@ +Coverage Sampler: A simple tool for calculating the amount of a gene that is covered by a sample of alignments. + +#### Installation +``` +git clone https://github.com/cdeanj/coverage_sampler +cd coverage_sampler +make +./csa +``` + +#### Usage +Usage: csa [options] + +Options: + + -ref_fp STR/FILE ref file path + -sam_fp STR/FILE sam file path + -min INT starting sample level + -max INT ending sample level + -skip INT amount of sample levels to skip + -t INT gene fraction threshold + -samples INT iterations per sample level + -out_fp STR/FILE output file path + +#### Output + +The output is a tab delimited text file with five columns +``` +Level Iteration Gene Id Gene Fraction Hits +``` + +* Level: the sampling percent alignments were taken at +* Iteration: the ith iteration of the current sample level +* Gene Id: the reference sequence having a gene fraction greater than the threshold +* Gene Fraction: the number of bases covered by the sample of alignments +* Hits: the number of alignments that had bases cover the reference sequence diff -r 17bce2f348b6 -r 59c6a5729ce0 coverage_sampler.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/coverage_sampler.xml Tue Jun 28 22:49:28 2016 -0400 @@ -0,0 +1,80 @@ + + A simple tool for calculating the amount of a gene that is covered by a sample of alignments + + csa + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Usage: csa [options] + +Options: + -ref_fp STR/FILE ref file path + -sam_fp STR/FILE sam file path + -min INT starting sample level + -max INT ending sample level + -skip INT amount of sample levels to skip + -t INT gene fraction threshold + -samples INT iterations per sample level + -out_fp STR/FILE output file path + ]]> + + + diff -r 17bce2f348b6 -r 59c6a5729ce0 gene_fraction.xml --- a/gene_fraction.xml Tue Jun 28 22:31:53 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ - - A simple tool for calculating the amount of a gene that is covered by a sample of reads - - csa - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Usage: csa [options] - -Options: - -ref_fp STR/FILE ref file path - -sam_fp STR/FILE sam file path - -min INT starting sample level - -max INT ending sample level - -skip INT amount of sample levels to skip - -t INT gene fraction threshold - -samples INT iterations per sample level - -out_fp STR/FILE output file path - ]]> - - -