<｜begin▁of▁sentence｜>### Instruction:
Given the Network Science co-authorship graph data stored in a GML file named netscience.gml, can you convert the graph from a NetworkX format to an iGraph format without preserving the directed nature of the graph (if any)?
### Response:
import networkx as nx
from cdlib import TemporalClustering, convert_graph_formats

# Read the network science co-authorship graph
G_nx = nx.read_gml('netscience.gml')

# Convert the networkx graph to an igraph object
G_ig = convert_graph_formats(G_nx, desired_format='ig.Graph', directed=False)

print(type(G_ig))
<|EOT|>
