diff generate_custom_track/construct_custom_track.py @ 3:f46c581ca166 draft

Uploaded
author jackcurragh
date Fri, 23 Sep 2022 13:30:42 +0000
parents aedc582b98aa
children 686a1d619b96
line wrap: on
line diff
--- a/generate_custom_track/construct_custom_track.py	Fri Sep 23 13:17:31 2022 +0000
+++ b/generate_custom_track/construct_custom_track.py	Fri Sep 23 13:30:42 2022 +0000
@@ -1,12 +1,11 @@
 import sys
 
 def main(track_type, url, sample_name, sample_description, chromosome_position, outpath):
-    
+
     with open(outpath, 'w') as f:
-        f. write(f"""
-        browser position {chromosome_position}
-        track type={track_type} name="{sample_name}" description="{sample_description}" bigDataUrl={url}
-        """)
+        f. write(
+f"""browser position {chromosome_position}
+track type={track_type} name="{sample_name}" description="{sample_description}" bigDataUrl={url}""")
 
 if __name__ == "__main__":
     track_type = sys.argv[1]