Skip to content

Commit

Permalink
Merge pull request #6 from colindaven/dev
Browse files Browse the repository at this point in the history
Make run_test.sh clearer
  • Loading branch information
colindaven authored Dec 22, 2021
2 parents 1844fa3 + 6213678 commit 4997772
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions run_test.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
#!/bin/bash
# Colin Davenport, April 2021
# Colin Davenport, Dec 2021

oligo="ATC"
echo "running command for oligo $oligo"
cargo build
oligo="ATC"
#cargo run -q && cat test.fastq | target/debug/rs_demultiplex --remove --barcode $oligo > $oligo.txt

oligo="ATC"
echo "INFO: running command for oligo $oligo, note --remove is given. Read and qual should be len($oligo) bp shorter"
cat test.fastq | target/debug/rs_demultiplex --remove --barcode $oligo > $oligo.txt

echo "produced this output - head"
echo "INFO: produced this output - head -n 12"
head -n 12 $oligo.txt

oligo="AAT"
echo "INFO: running command for oligo $oligo, note --remove not given. Reads should be original length."
cat test.fastq | target/debug/rs_demultiplex --barcode $oligo > $oligo.txt

echo "INFO: produced this output - head -n 12"
head -n 12 $oligo.txt

echo "removing file"
rm $oligo.txt
#echo "removing file"
#rm $oligo.txt

0 comments on commit 4997772

Please sign in to comment.