Dear OpenStreetMap group of Switzerland,
I have the following workflow in the mind:
1. Finding shortest paths using Open Source Routing Machine in canton Bern using osm.pbf file of Switzerland.
2. Now I would like to edit some of the roads as not passable (i.e. either access=no or maxspeed=0) for vehicle routing. Since I have the IDs of the roads, I will do this edit automatically in shapefile of the roads layer from openstreetmap.
3. Using the edited shapefile of the roads, I would like to create again the switzerland.osm.pbf file.
My question is, which software I should use to create osm.pbf file from edited shapefile or shapefiles?

I hope to hear from you soon.
Thank you,
Tsolmon