# HG changeset patch # User dave # Date 1569356427 14400 # Node ID 20823bce09e70fd9497e5a3f9e533aa2cc9849c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/downsample commit dd00e60bdbb1fb45d395bb59dd60795e39867624 diff -r 000000000000 -r 20823bce09e7 downsample.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/downsample.xml Tue Sep 24 16:20:27 2019 -0400 @@ -0,0 +1,33 @@ + + + reads to desired coverage + + samtools + gawk + + = 1) exit 1 ; else print f }') ; + then samtools view '$reads' -s \$FACTOR -O $reads.datatype -o '$output' ; + else ; + cp '$reads' '$output' + fi + ]]> + + + + + + + + + + + + + + + + + + +