The clerk of the district court must perform such duties as are prescribed in the Code of Civil Procedure and in the Penal Code, and such duties as may be required of him by the rules and practice of the court.