<｜begin▁of▁sentence｜>### Instruction:
Given the Condensed Matter Collaborations 2005 graph from a GML file named cond-mat-2005.gml, can you use the functions `louvain` and `leiden` in `cdlib` to perform community detection and then compute the omega index to evaluate the resemblance between the two network clusterings?
### Response:
import networkx as nx
from cdlib import algorithms, evaluation

# Create a graph
G = nx.read_gml('cond-mat-2005.gml')

# Community detection using different algorithms
louvain_communities = algorithms.louvain(G)
leiden_communities = algorithms.leiden(G)

# Evaluate the similarity of the two partitions using the omega index
omega_index = evaluation.omega(louvain_communities, leiden_communities)

print('Omega Index:', omega_index.score)
<|EOT|>
