Atomically precise tailoring of graphene can enable unusual transport pathways and new nanometer-scale functional devices. Here we describe a recipe for the controlled production of highly regular "5-5-8" line defects in graphene by means of simultaneous electron irradiation and Joule heating by applied electric current. High-resolution transmission electron microscopy reveals individual steps of the growth process. Extending earlier theoretical work suggesting valley-discriminating capabilities of a graphene 5-5-8 line defect, we perform firstprinciples calculations of transport and find a strong energy dependence of valley polarization of the charge carriers across the defect. These findings inspire us to propose a compact electrostatically gated "valley valve" device, a critical component for valleytronics.2 Atomically-precise modification of low-dimensional materials such as graphene is exceedingly challenging since existing experimental techniques rarely achieve atomic precision. Nevertheless, if successful, atomic manipulations could have dramatic impact on graphene's electrical, magnetic, optical, mechanical, chemical, and thermal properties [1][2][3][4] , leading to novel functionalities that could be exploited in nanoscale devices.A recently emerging field is "valleytronics", a zero-magnetic-field analog to spintronics which exploits the quantum mechanical "valley" degree of freedom of charge carriers in graphene 2, 5-10 .At low energies the band structure of single-layer graphene is composed of two energetically degenerate valleys ("Dirac cones"), separated by ~30 nm -1 . 11 The intervalley coupling is quite weak in high quality graphene even at room temperature 12,13 , and hence this additional degree of freedom is a good quantum number. Valley polarization could be used for information processing much as the electron spin degree of freedom is used in spintronics, with the added benefit of temperature insensitivity.Generally, two approaches have been suggested for lifting the degeneracy and thus achieving graphene valley polarization: 1) application of external magnetic field, and 2) using local modifications of the crystalline lattice. The growth process of the 5-5-8 linear defect is intriguing, and we examine it in some detail here. The metastable 5-6 pair generated at the growth-leading end is the key to the growth mechanism. Figures 3a-3c illustrate critical formation steps as determined by TEM. Each experimental image is constructed from an average of 12 single shot TEM images taken in rapid succession to reduce the background noise and to include all possible configurations of the defect. As the line defect grows by one octagon, one carbon atom (marked by a blue dot in the illustrations) is ejected, and a new bond is formed between its nearest neighbors (marked by yellow dots). This process also creates a new 5-6 termination pair, which serves as a seed for continued growth. Since an 6 isolated pentagon cannot be sustained in otherwise ideal graphene 23 , an extended structural irre...