[med-svn] [Git][med-team/bitseq][master] add test for parseAlignment command
harish chavre (@Harish1)
gitlab at salsa.debian.org
Thu Apr 24 20:54:42 BST 2025
harish chavre pushed to branch master at Debian Med / bitseq
Commits:
a6976034 by Harish chavre at 2025-04-22T07:36:19+00:00
add test for parseAlignment command
- - - - -
2 changed files:
- debian/tests/control
- debian/tests/run-unit-test
Changes:
=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
Tests: run-unit-test
-Depends: @, bowtie
+Depends: @, bowtie, bitseq
Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -16,3 +16,16 @@ bowtie-build -f Ref.fasta index
bowtie -q -v 3 --all -m 100 --sam index Reads.fastq -S out.sam
[ -s out.sam ] && echo "Test passed!" || { echo "Output missing or empty"; exit 1; }
+
+parseAlignment out.sam \
+ -o result.prob \
+ --trSeqFile Ref.fasta \
+ --trInfoFile Ref.tr \
+ --uniform --verbose
+
+if [ -s result.prob ] && [ -s Ref.tr ]; then
+ echo "parseAlignment test passed"
+else
+ echo "parseAlignment test failed"
+ exit 1
+fi
View it on GitLab: https://salsa.debian.org/med-team/bitseq/-/commit/a6976034eb47ba66df9dbea0870a4b9337f46aac
--
View it on GitLab: https://salsa.debian.org/med-team/bitseq/-/commit/a6976034eb47ba66df9dbea0870a4b9337f46aac
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20250424/98d0bdbb/attachment-0001.htm>
More information about the debian-med-commit
mailing list