<｜begin▁of▁sentence｜>### Instruction:
As a conservation scientist, imagine that you have been working on a project to analyze and manage the ecosystem of a wildlife reserve. As part of your research, you have been using networkx to represent the interactions between different species in the ecosystem as a directed graph. Now, you need to retrieve and print the out-edges of a specific species in the graph, which corresponds to the vertex with index 2. This information will help you understand how this species interacts with others in the ecosystem and make informed conservation decisions.
### Response:
import igraph as ig

# Load a graph from GML
graph = ig.read('directed_graph.gml')

# Select a vertex with id 2
v = graph.vs[2]

# Get out-edges of the vertex
out_edges = v.out_edges()
print('Out-edges of vertex 2:', out_edges)
<|EOT|>
