From: Andreas Tille From: Antoni Villalonga Date: Sun, 5 Aug 2018 11:01:22 +0200 Subject: Fix spelling Last-Update: 2020-04-19 --- leaff/leaff.C | 2 +- libkmer/driver-existDB.C | 2 +- libutil/bitPackedFile.C | 2 +- libutil/palloc.c | 2 +- sim4dbutils/parseSNP.C | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/leaff/leaff.C b/leaff/leaff.C index 592a58e..eb7f36b 100644 --- a/leaff/leaff.C +++ b/leaff/leaff.C @@ -126,7 +126,7 @@ helpAnalysis(char *program) { fprintf(stderr, " --partitionmap [ n[gmk]bp | n ] a.fasta\n"); fprintf(stderr, " Partition the sequences into roughly equal size pieces of\n"); fprintf(stderr, " size nbp, nkbp, nmbp or ngbp; or into n roughly equal sized\n"); - fprintf(stderr, " parititions. Sequences larger that the partition size are\n"); + fprintf(stderr, " partitions. Sequences larger that the partition size are\n"); fprintf(stderr, " in a partition by themself. --partitionmap writes a\n"); fprintf(stderr, " description of the partition to stdout; --partiton creates\n"); fprintf(stderr, " a fasta file 'prefix-###.fasta' for each partition.\n"); diff --git a/libkmer/driver-existDB.C b/libkmer/driver-existDB.C index 1ad7230..4b87efa 100644 --- a/libkmer/driver-existDB.C +++ b/libkmer/driver-existDB.C @@ -178,7 +178,7 @@ const char *usage = "\n" " -testexhaustive some.fasta some.meryl\n" " -- Build an existDB table from some.fasta, check _EVERY_ mer\n" -" for existance. Complain if a mer exists in the table but\n" +" for existence. Complain if a mer exists in the table but\n" " not in the meryl database. Assumes 'some.meryl' is the\n" " mercount of some.fasta.\n" "\n"; diff --git a/libutil/bitPackedFile.C b/libutil/bitPackedFile.C index 278cc56..c4da1a7 100644 --- a/libutil/bitPackedFile.C +++ b/libutil/bitPackedFile.C @@ -157,7 +157,7 @@ bitPackedFile::bitPackedFile(char const *name, uint64 offset, bool forceTruncate } else if ((at == uint64Swap(ac)) && (bt == uint64Swap(bc))) { endianess_flipped = true; } else { - fprintf(stderr, "bitPackedFile::bitPackedFile()-- '%s' looked like a bitPackedFile, but failed the endianess check, not opened.\n", _name); + fprintf(stderr, "bitPackedFile::bitPackedFile()-- '%s' looked like a bitPackedFile, but failed the endianness check, not opened.\n", _name); exit(1); } } else { diff --git a/libutil/palloc.c b/libutil/palloc.c index db848ad..f4cdb75 100644 --- a/libutil/palloc.c +++ b/libutil/palloc.c @@ -133,7 +133,7 @@ palloc2(size_t size, void *handle) { root->_cn = root->_nl; if (root->_dbg > 0) - fprintf(stderr, "palloc()-- Inital block of "sizetFMT" bytes at %p.\n", root->_bs, root->_cn); + fprintf(stderr, "palloc()-- Initial block of "sizetFMT" bytes at %p.\n", root->_bs, root->_cn); root->_cn->_cp = 0; root->_cn->_dt = (char *)really_allocate(root->_bs); diff --git a/sim4dbutils/parseSNP.C b/sim4dbutils/parseSNP.C index f1c61b6..50c2eac 100644 --- a/sim4dbutils/parseSNP.C +++ b/sim4dbutils/parseSNP.C @@ -491,7 +491,7 @@ main(int argc, char **argv) { fprintf(stderr, " default, and if posTag is not found.\n"); fprintf(stderr, "\n"); fprintf(stderr, " TAGS: The number immediately after the first\n"); - fprintf(stderr, " occurance of the tag will be used.\n"); + fprintf(stderr, " occurrence of the tag will be used.\n"); fprintf(stderr, "\n"); fprintf(stderr, " -o offset An additive offset to the SNP position.\n"); fprintf(stderr, " The default is 0.\n");