From 876a02e6accdebffbc70c4959269335d975e0b34 Mon Sep 17 00:00:00 2001 From: Lee Katz - Aspen Date: Fri, 20 Apr 2018 12:01:35 -0400 Subject: [PATCH] rename to fasten; v0.1.11 --- Cargo.toml | 2 +- tests/fasten_trim.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c6c3057a..1d20a9ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fasten" -version = "0.1.10" +version = "0.1.11" authors = ["Lee Katz "] #license-file = "LICENSE" license = "MIT" diff --git a/tests/fasten_trim.sh b/tests/fasten_trim.sh index f5529b73..f15afe94 100644 --- a/tests/fasten_trim.sh +++ b/tests/fasten_trim.sh @@ -3,21 +3,21 @@ set -e INPUT=testdata/four_reads.pe.fastq; -reads_not_trimmed=$(./target/debug/fasten_trimmer < $INPUT ) +reads_not_trimmed=$(./target/debug/fasten_trim < $INPUT ) original_reads=$(cat $INPUT) if [ "$reads_not_trimmed" != "$original_reads" ]; then echo "ERROR while not trimming reads" exit 1 fi -onebase=$(./target/debug/fasten_trimmer --first-base 3 --last-base 4 < testdata/four_reads.pe.fastq | perl -lane 'print if($i++ % 4 == 1);' | paste -sd'_') +onebase=$(./target/debug/fasten_trim --first-base 3 --last-base 4 < testdata/four_reads.pe.fastq | perl -lane 'print if($i++ % 4 == 1);' | paste -sd'_') shouldbe="T_T_G_A_C_A_C_A" if [ "$onebase" != "$shouldbe" ]; then echo "ERROR trimming to the third base" exit 1 fi -last_read_length=$(./target/debug/fasten_trimmer --first-base 53 < testdata/four_reads.pe.fastq | ./target/debug/fasten_metrics --each-read | tail -n 1 | cut -f 2) +last_read_length=$(./target/debug/fasten_trim --first-base 53 < testdata/four_reads.pe.fastq | ./target/debug/fasten_metrics --each-read | tail -n 1 | cut -f 2) if [ "$last_read_length" -ne 47 ]; then echo "ERROR trimming to the last 47 bp of the reads" exit 1