I want to create custom tracks from these files
I can add the line : track type=narrowPeak name=“narrowPeak” manually by opening it with text editor: track type=narrowPeak name=“narrowPeak” but I wonder if there is no simple way to do it with code- to open all files that end with bed and add them this line. Didnt find this option in bed tools, If it is possible to add the name extracting it from the file name it would be amazing.
Many thanks