Skip to content

Commit

Permalink
Merge pull request #4287 from vgteam/remove-repetitive-words
Browse files Browse the repository at this point in the history
Remove repetitive words
  • Loading branch information
adamnovak authored May 7, 2024
2 parents 547ad0d + a96368f commit 8e28e32
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ontology/vg.html
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ <h2>
<td><a href="http://www.w3.org/2000/01/rdf-schema#comment">
rdfs:comment</a></td>
<td>
"A step along a path in the variant graph. A series of steps along a path represent an assembled sequence that was originally inserted into the the variant graph. A step points to a :Node or the reverse complement of a node and has a rank (step number)."
"A step along a path in the variant graph. A series of steps along a path represent an assembled sequence that was originally inserted into the variant graph. A step points to a :Node or the reverse complement of a node and has a rank (step number)."
<sup><a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#http://www.w3.org/2001/XMLSchema#string">
xsd:string</a></sup>
</td>
Expand Down
2 changes: 1 addition & 1 deletion ontology/vg.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
.
:Step
rdf:type owl:Class ;
rdfs:comment "A step along a path in the variant graph. A series of steps along a path represent an assembled sequence that was originally inserted into the the variant graph. A step points to a :Node or the reverse complement of a node and has a rank (step number)."^^xsd:string ;
rdfs:comment "A step along a path in the variant graph. A series of steps along a path represent an assembled sequence that was originally inserted into the variant graph. A step points to a :Node or the reverse complement of a node and has a rank (step number)."^^xsd:string ;
rdfs:label "Step"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
.
Expand Down
2 changes: 1 addition & 1 deletion src/algorithms/k_widest_paths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ vector<pair<double, vector<handle_t>>> yens_k_widest_paths(const HandleGraph* g,
forgotten_nodes.insert(g->flip(prev_path[j]));
}

// find our path from the the spur_node to the sink
// find our path from the spur_node to the sink
pair<double, vector<handle_t>> spur_path_v = widest_dijkstra(g, spur_node, sink, node_weight_callback, edge_weight_callback,
[&](handle_t h) {return forgotten_nodes.count(h);},
[&](edge_t e) {return forgotten_edges.count(e);},
Expand Down
2 changes: 1 addition & 1 deletion src/cactus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void getReachableBridges(stCactusEdgeEnd *edgeEnd1, stList *bridgeEnds) {
}

/**
* Finds an arbitrary pair of telomeres in a Cactus graph, which are are either
* Finds an arbitrary pair of telomeres in a Cactus graph, which are either
* a pair of bridge edge ends or a pair of chain edge ends, oriented such that
* they form a pair of boundaries.
*
Expand Down
2 changes: 1 addition & 1 deletion src/cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ void MEMClusterer::HitGraph::prune_low_scoring_edges(vector<vector<size_t>>& com
}
cerr << strm.str();
#endif
// the the original component
// the original component
components[component_idx] = move(new_components[0]);
// add the remaining to the end
for (size_t i = 1; i < new_components.size(); i++) {
Expand Down
2 changes: 1 addition & 1 deletion src/graph_caller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2302,7 +2302,7 @@ string NestedFlowCaller::flatten_alt_allele(const string& nested_allele, int all
// todo: passing in a single ploidy simplisitic, would need to derive from the calls when
// reucrising
// in practice, the results will nearly the same but still needs fixing
// we try to get the the allele from the genotype if possible, but fallback on the fallback_allele
// we try to get the allele from the genotype if possible, but fallback on the fallback_allele
int trav_allele = fallback_allele >= 0 ? fallback_allele : record.genotype_by_ploidy[ploidy-1].first[allele];
const SnarlTraversal& traversal = record.travs[trav_allele];
string nested_snarl_allele = trav_string(graph, traversal);
Expand Down
2 changes: 1 addition & 1 deletion src/index_registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ IndexRegistry VGIndexes::get_vg_index_registry() {
}
}

// we'll partition sequences that have the same samples (chunking the the VCFs
// we'll partition sequences that have the same samples (chunking the VCFs
// ultimately requires that we do this)
map<set<string>, vector<string>> sample_set_contigs;
for (int i = 0; i < vcf_samples.size(); ++i) {
Expand Down
2 changes: 1 addition & 1 deletion src/splicing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1633,7 +1633,7 @@ multipath_alignment_t&& fuse_spliced_alignments(const Alignment& alignment,
}
}
else if (!have_right_linker) {
// the splice segment on the right side is empty, make connection the the left side
// the splice segment on the right side is empty, make connection the left side
auto connection = left_mp_aln.mutable_subpath(right_subpaths_begin - 1)->add_connection();
connection->set_next(left_mp_aln.subpath_size());
connection->set_score(splice_score);
Expand Down
2 changes: 1 addition & 1 deletion src/transcriptome.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ class Transcriptome {
/// Parse gtf/gff3 attribute value.
string parse_attribute_value(const string & attribute, const string & name) const;

/// Returns the the mean node length of the graph
/// Returns the mean node length of the graph
float mean_node_length() const;

/// Adds the exon coordinates to a transcript.
Expand Down

0 comments on commit 8e28e32

Please sign in to comment.