# HG changeset patch # User Michael R. Crusoe # Date 1404048152 14400 # Node ID d00e18a0a3f2f3c8a0a6300f77f908b6f75c2a65 # Parent 50e354731c854590134e43711eed71f7e1243670 More scripts diff -r 50e354731c85 -r d00e18a0a3f2 abundance-dist-single.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/abundance-dist-single.xml Sun Jun 29 09:22:32 2014 -0400 @@ -0,0 +1,67 @@ + + + + Calculate abundance distribution of the k-mers in a given sequence + file. + + + abundance-dist-single.py + + + +## The command is a Cheetah template which allows some Python based syntax. +## Lines starting hash hash are comments. Galaxy will turn newlines into spaces +mkdir output; cd output; +@BINARY@ +@TABLEPARAMS@ +$no_zero +$no_bigcount +#if $save_countingtable +--savetable=$countingtable_to_save +#end if +--report-total-kmers +$input_sequence_filename +$output_histogram_filename + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 50e354731c85 -r d00e18a0a3f2 abundance-dist.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/abundance-dist.xml Sun Jun 29 09:22:32 2014 -0400 @@ -0,0 +1,57 @@ + + + + Calculate abundance distribution of the k-mers in a given sequence + file using a pre-made k-mer counting table. + + + abundance-dist-single.py + + + +## The command is a Cheetah template which allows some Python based syntax. +## Lines starting hash hash are comments. Galaxy will turn newlines into spaces +mkdir output; cd output; +@BINARY@ + $input_counting_table_filename + $input_sequence_filename + $output_histogram_filename + + + + + + + + + + + + + + + + + + + + + + + + diff -r 50e354731c85 -r d00e18a0a3f2 count-median.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/count-median.xml Sun Jun 29 09:22:32 2014 -0400 @@ -0,0 +1,58 @@ + + + + Count the median/avg k-mer abundance for each sequence in the input file, + based on the k-mer counts in the given k-mer counting table. Can be used to + estimate expression levels (mRNAseq) or coverage (genomic/metagenomic). + + + count-median.py + + + +## The command is a Cheetah template which allows some Python based syntax. +## Lines starting hash hash are comments. Galaxy will turn newlines into spaces +mkdir output; cd output; +@BINARY@ + $input_counting_table_filename + $input_sequence_filename + $output_summary_filename + + + + + + + + + + + + + + + + + + + + + + + + diff -r 50e354731c85 -r d00e18a0a3f2 filter-abund.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/filter-abund.xml Sun Jun 29 09:22:32 2014 -0400 @@ -0,0 +1,88 @@ + + + + Trims fastq/fasta sequences at k-mers of a given abundance + based on a provided k-mer counting table. + + + + + khmer + + + + + filter-abund.py --version + + + + mkdir output; cd output; + filter-abund.py + $variable_coverage + $presencetable_to_load + #for input in $inputs + $input + #end for + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 50e354731c85 -r d00e18a0a3f2 macros.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/macros.xml Sun Jun 29 09:22:32 2014 -0400 @@ -0,0 +1,92 @@ + + + + + khmer + + @BINARY@ --version + + #if $parameters.type == "simple" +--ksize=20 +--n_tables=4 +--min-tablesize=$parameters.tablesize +#else +--ksize=$parameters.ksize +--n_tables=$parameters.n_tables +--min-tablesize=$parameters.tablesize_specific +#end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 50e354731c85 -r d00e18a0a3f2 tool_dependencies.xml --- a/tool_dependencies.xml Sat Jun 28 17:25:11 2014 -0400 +++ b/tool_dependencies.xml Sun Jun 29 09:22:32 2014 -0400 @@ -3,7 +3,7 @@ - easy_install -U setuptools; pip install --user khmer==1.1 || pip install khmer==1.1 + easy_install -U setuptools==3.4.1; pip install --user khmer==1.1 || pip install khmer==1.1