Skip to content

Commit

Permalink
Merge pull request #2 from ncbi/dev
Browse files Browse the repository at this point in the history
Some  cosmetic improvements, no change in software.
  • Loading branch information
evolarjun authored Jun 24, 2024
2 parents 6b7d0ce + ec5dfe5 commit ad18e3a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 29 deletions.
1 change: 0 additions & 1 deletion .github/workflows/linux-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Linux C++ CI
on:
workflow_dispatch:
push:
pull_request:

jobs:
build:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/mac-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: MacOS C++ CI
on:
workflow_dispatch:
push:
pull_request:

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ The output of StxTyper is a tab-delimited file with the following fields, all pe
terminating at contig boundaries
- __PARTIAL_CONTIG_END__ for partial operons that could be split by contig
boundaries due to sequencing or assembly artifacts
- __EXTENDED__ Where the coding sequence would extend beyond the stop codon
for the reference protein
- __EXTENDED__ The coding sequence extends beyond the reference stop codon
for one or both of the reference proteins
- __INTERNAL_STOP__ for Stx operons where one of the subunits has a
nonsense mutation
- __FRAMESHIFT__ where StxTyper detected an indel in the coding sequence
Expand Down
25 changes: 0 additions & 25 deletions test_stxtyper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,31 +46,6 @@ function test_input_file {
fi
}

function test_amrfinder_output {
local test_base=$1
if ! $STXTYPER --amrfinder -n "test/$test_base.fa" > "test/$test_base.amr.got"
then
echo "not ok: $STXTYPER returned a non-zero exit value indicating a failure of the software"
echo "# $STXTYPER -n test/$test_base.fa > test/$test_base.amr.got"
return 1
else
if ! diff -q "test/$test_base.amr.expected" "test/$test_base.amr.got"
###### STOPPED HERE ######
then
echo "not ok: $STXTYPER returned output different from expected"
echo "# $STXTYPER -n test/$test_base.fa > test/$test_base.got"
echo "# diff test/$test_base.expected test/$test_base.got"
diff "test/$test_base.expected" "test/$test_base.got"
echo "# To approve run:"
echo "# mv test/$test_base.got test/$test_base.expected "
return 1
else
echo "ok: test/$test_base.fa"
return 0
fi
fi
}


test_input_file 'basic'
FAILURES=$(( $? + $FAILURES ))
Expand Down

0 comments on commit ad18e3a

Please sign in to comment.