Repository 'peakachu'
hg clone https://toolshed.g2.bx.psu.edu/repos/rnateam/peakachu

Changeset 3:886f5adba83d (2019-02-04)
Previous changeset 2:49a5a2e86c84 (2019-01-16) Next changeset 4:940b1d632f4d (2021-09-13)
Commit message:
planemo upload for repository https://github.com/tbischler/PEAKachu commit 4a5c3c370df53a00aded3eaae40f3a8e4a263385-dirty
modified:
peakachu.xml
b
diff -r 49a5a2e86c84 -r 886f5adba83d peakachu.xml
--- a/peakachu.xml Wed Jan 16 17:52:56 2019 -0500
+++ b/peakachu.xml Mon Feb 04 13:04:19 2019 -0500
b
@@ -68,10 +68,10 @@
         &&
         if ls ./tmp_output/peak_tables/*.csv > /dev/null;
         then 
-            cat ./tmp_output/peak_tables/*.csv | head -n 1 > peaks.tsv &&
+            sed -n 1p ./tmp_output/peak_tables/*.csv > peaks.tsv &&
             tail -n +2 -q ./tmp_output/peak_tables/*.csv >> peaks.tsv &&
             mv peaks.tsv '$peak_tables' &&
-            cat ./tmp_output/peak_annotations/*.gff | awk '/peak/ {print $0}' > peak_annotations.gff &&
+            awk '/peak/ {print $0}' ./tmp_output/peak_annotations/*.gff > peak_annotations.gff &&
             mv peak_annotations.gff '$peak_annotations' &&
             mv ./tmp_output/plots/Initial*.png '$MA_plot';
         else