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.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to