Spelling fixes
authorMichael R. Crusoe <michael.crusoe@gmail.com>
Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)
committerAaron M. Ucko <ucko@debian.org>
Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)
Gbp-Pq: Name spelling

15 files changed:
c++/include/objtools/alnmgr/seqids_extractor.hpp
c++/src/algo/winmask/seq_masker_ostat_factory.cpp
c++/src/app/blastdb/blastdbcheck.cpp
c++/src/app/blastdb/makeprofiledb.cpp
c++/src/objects/seqalign/Dense_seg.cpp
c++/src/objects/seqalign/Seq_align.cpp
c++/src/objects/seqfeat/institution_codes.inc
c++/src/objects/seqfeat/institution_codes.txt
c++/src/objmgr/util/sequence.cpp
c++/src/objtools/align_format/taxFormat.cpp
c++/src/objtools/format/flat_file_config.cpp
c++/src/objtools/readers/agp_converter.cpp
c++/src/objtools/readers/agp_util.cpp
c++/src/objtools/readers/agp_validate_reader.cpp
c++/src/util/compress/api/compress.cpp

index d38e3769bb62cadeec973f0dba7c2e9bbf20923c..359f02ef29da93a1f9c411c9d8a531c930168012 100644 (file)
@@ -232,7 +232,7 @@ public:
                         else if (*id_vec[i] != *id) {
                             string err("Inconsistent Seq-ids found in seg ");
                             err += NStr::NumericToString(i) +
-                                ".  Excpected " + id_vec[i]->AsString() +
+                                ".  Expected " + id_vec[i]->AsString() +
                                 ", encountered " + id->AsString() + ".";
                             NCBI_THROW(CAlnException, eInvalidSeqId, err);
                         }
index 74263c516db0877241b7d15fb98a7c0c1acb888d..eeaba1a0770bf2acfd0ef581a8206376609443fb 100644 (file)
@@ -75,7 +75,7 @@ CSeqMaskerOstat * CSeqMaskerOstatFactory::create(
         }
         else NCBI_THROW( CSeqMaskerOstatFactoryException,
                          eBadName,
-                         "unkown unit counts format" );
+                         "unknown unit counts format" );
     }
     catch( CException & e ) {
         NCBI_RETHROW( e, CSeqMaskerOstatFactoryException, eCreateFail,
@@ -113,7 +113,7 @@ CSeqMaskerOstat * CSeqMaskerOstatFactory::create(
         }
         else NCBI_THROW( CSeqMaskerOstatFactoryException,
                          eBadName,
-                         "unkown unit counts format" );
+                         "unknown unit counts format" );
     }
     catch( CException & e ) {
         NCBI_RETHROW( e, CSeqMaskerOstatFactoryException, eCreateFail,
index 8084fec5cbb4b0d156548936ca91e2ba64814079..9484176464f13b494d9327779c8773f7c83e0707 100644 (file)
@@ -245,7 +245,7 @@ void CBlastDbCheckApplication::Init(void)
          "Require that all sequences in the database have taxid set.");
 
     arg_desc->AddFlag
-        ("cdd_delta", "Do aditional tests for a CDD database for DELTA-BLAST");
+        ("cdd_delta", "Do additional tests for a CDD database for DELTA-BLAST");
 
     // Setup arg.descriptions for this application
     SetupArgDescriptions(arg_desc.release());
index 1135fe06a9217f49135ee2378d3eb1b620b070f5..77692af54b017d01ff974a0dd14a2bd6c142e2e1 100644 (file)
@@ -1838,7 +1838,7 @@ bool CMakeProfileDBApp::x_CheckDelta( const CPssm  & pssm, Int4 seq_size, const
     if( !x_ValidateCd(freqs, obsr, BLASTAA_SIZE) && m_ExcludeInvalid)
     {
        *m_LogFile << filename +
-                       " was excluded: it conatins an invalid CD \n";
+                       " was excluded: it contains an invalid CD \n";
        return false;
     }
     return true;
index 015614ca089467d1e4fac3ccdbab44e8ef199682..85f396f195bc08e7f6fae71b13a2ddd60227a424 100644 (file)
@@ -980,7 +980,7 @@ void CDense_seg::RemapToLoc(TDim row, const CSeq_loc& loc,
             if (loc_plus != (seq_loc_i.GetStrand() != eNa_strand_minus)) {
                 NCBI_THROW(CSeqalignException, eInvalidInputData,
                            "CDense_seg::RemapToLoc():"
-                           " The strand should be the same accross"
+                           " The strand should be the same across"
                            " the input seq-loc");
             }
         }
index 3ceefedcdb7eac9253bf9520076699cf8923b0ac..eb27ce2c6cbd3d97ac119b4cc09aa15c6618c4ef 100644 (file)
@@ -872,7 +872,7 @@ CSeq_align::CreateDensegFromStdseg(SSeqIdChooser* SeqIdChooser) const
         if (dim != ss.GetDim()  ||  row != dim) {
             NCBI_THROW(CSeqalignException, eInvalidInputAlignment,
                        "CreateDensegFromStdseg(): "
-                       "Inconsistent dimentions!");
+                       "Inconsistent dimensions!");
         }
 
         if (widths_determined[seg]) {
index b11f9cce578e9a715f95b5ce580449793e456139..7951152164da952cecd77ec31338a7f44c5f8689 100644 (file)
@@ -791,7 +791,7 @@ static const char* const kInstitutionCollectionCodeList[] = {
 "BPPT-ESC\tc\tBPPT Ethanol-Single Cell Protein-Fructose Syrup Technical Unit\t\t\t",
 "BPU\ts\tEoetvoes Lorand University, Department of Plant Taxonomy and Ecology\t\t\t",
 "BR<BEL>\ts\tBotanic Garden Meise\t\t\t",
-"BR<BRA>\tc\tJohanna Dobereiner Biological Resouce Center (CRB-JD)\t\t\t",
+"BR<BRA>\tc\tJohanna Dobereiner Biological Resource Center (CRB-JD)\t\t\t",
 "BRA\ts\tSlovak National Museum, Botany Department\t\t\t",
 "BRAD\ts\tUniversity of Bradford, Biology Department\t\t\t",
 "BRB\ts\tBrassica Resource Bank\t\t\t",
index 4ba3f54410be6ee3daf90afbb6cab6ce9b09bedb..8848d3d014de1c82e6010874306fe9e1c3f8efab 100644 (file)
@@ -755,7 +755,7 @@ BPM s       Beipiao Paleontological Museum
 BPPT-ESC       c       BPPT Ethanol-Single Cell Protein-Fructose Syrup Technical Unit                  
 BPU    s       Eoetvoes Lorand University, Department of Plant Taxonomy and Ecology                    
 BR<BEL>        s       Botanic Garden Meise                    
-BR<BRA>        c       Johanna Dobereiner Biological Resouce Center (CRB-JD)                   
+BR<BRA>        c       Johanna Dobereiner Biological Resource Center (CRB-JD)                  
 BRA    s       Slovak National Museum, Botany Department                       
 BRAD   s       University of Bradford, Biology Department                      
 BRB    s       Brassica Resource Bank                  
index 7896fcb25d642316b9c0ea16cc1d3c04fea723bd..07913b1fe4458930232cc6f1f72d0e763abea661 100644 (file)
@@ -385,7 +385,7 @@ string GetProteinName(const CBioseq_Handle& seq)
     if ( best_feats.empty() ) {
         NCBI_THROW_FMT(CObjMgrException, eFindFailed,
                        "GetProteinName("<<GetId(seq, eGetId_Best)<<"): "
-                       "the sequence does't have prot feature");
+                       "the sequence doesn't have prot feature");
     }
     if ( best_feats.size() > 1 ) {
         NCBI_THROW_FMT(CObjMgrException, eFindConflict,
index 49b95ad2529cb0ed46ec2c59c940b7c8b87ac1be..4307302b0589ead67bd4e3b83a4d7de1136ee787 100644 (file)
@@ -616,7 +616,7 @@ void CTaxFormat::x_LoadTaxTree(void)
             }            
         }
         if (!tax_load_ok) {
-            NCBI_THROW(CException, eUnknown,"Taxonomic load was not successfull.");
+            NCBI_THROW(CException, eUnknown,"Taxonomic load was not successful.");
         }
         m_TaxTreeLoaded = true;
             
index ae006f9295f9c3ded72c9c72ce09a55762cc490b..75445dc571e7f38e4b53dd80034360cbf6edf7e8 100644 (file)
@@ -655,7 +655,7 @@ void CFlatFileConfig::AddArgumentDescriptions(CArgDescriptions& args)
 
          // from
          arg_desc->AddOptionalKey("from", "From",
-                                  "Begining of shown range", CArgDescriptions::eInteger);
+                                  "Beginning of shown range", CArgDescriptions::eInteger);
 
          // to
          arg_desc->AddOptionalKey("to", "To",
index 20084f3072d8e59178885a02e7a0f8becedf07de..ce844abd697bf1710e07dc879379ef4fb0f6fc4b 100644 (file)
@@ -728,7 +728,7 @@ void CAgpConverter::x_SetUpObjectOpeningAndClosingStrings(
         submit_block_writer.WriteObject(m_pSubmitBlock.GetPointer(), m_pSubmitBlock->GetThisTypeInfo());
         submit_block_writer.Flush();
         seq_sub_header_strm << "," << endl;
-        seq_sub_header_strm << "data entrys {" << endl;
+        seq_sub_header_strm << "data entries {" << endl;
 
         out_sObjectOpeningString = seq_sub_header_strm.str();
         out_sObjectClosingString = "} }" + out_sObjectClosingString;
index 4284710c82dbc6af53280d8ce2c6a3dcaac48348..bfd5b892f3f59ff5e36bea81310a1cbacb0a1a5d 100644 (file)
@@ -173,7 +173,7 @@ const CAgpErr::TStr CAgpErr::s_msg[]= {
 
     "object_beg != previous object_end + 1",
     "no valid AGP lines",
-    "consequtive gaps lines with the same type and linkage",
+    "consecutive gaps lines with the same type and linkage",
     "in \"Scaffold from component\" file, invalid scaffold-breaking gap",
     "in \"Chromosome from scaffold\" file, invalid \"within-scaffold\" gap",
 
@@ -193,7 +193,7 @@ const CAgpErr::TStr CAgpErr::s_msg[]= {
     // Content Warnings
     "gap at the end of object (OK if X is the circular chromosome/plasmid)",
     "gap at the beginning of object ",
-    "two consequtive gap lines (e.g. a gap at the end of "
+    "two consecutive gap lines (e.g. a gap at the end of "
         "a scaffold, two non scaffold-breaking gaps, ...)",
     "no components in object",
     "the span overlaps a previous span for this component",
index b15a76631817080f5778e8acc44ccb69604fae23..7977c7b37c36843010684832563777985132ab2a 100644 (file)
@@ -300,7 +300,7 @@ void CAgpValidateReader::OnGapOrComponent()
       int prev_comp_file=spans.rbegin()->file_num;
       int prev_comp_line=spans.rbegin()->line_num;
       if(prev_comp_file < m_last_scaf_start_file || prev_comp_line < m_last_scaf_start_line) {
-        sameComId_otherScaf="; previous occurance at ";
+        sameComId_otherScaf="; previous occurrence at ";
         if(prev_comp_file && prev_comp_file!=m_AgpErr->GetFileNum()) {
           sameComId_otherScaf += m_AgpErr->GetFile(prev_comp_file);
           sameComId_otherScaf += ":";
index 5da4619ec0cb1528fb2aa5cf18ff9528f8ffd0e0..6a1817ae83ef7cf87cf8f80ff0d395f5bdd484c5 100644 (file)
@@ -165,7 +165,7 @@ bool CCompression::x_DecompressFile(CCompressionFile& src_file,
     while ( (nread = src_file.Read(buf.get(), file_io_bufsize)) > 0 ) {
         os.write(buf.get(), nread);
         if ( !os.good() ) {
-            SetError(-1, "Error writing to ouput file");
+            SetError(-1, "Error writing to output file");
             return false;
         }
     }