diff hubArchiveCreator.py @ 21:884ee2a71680 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 6ac76e7da539ca1773fb809054679f0bf8a06972-dirty
author yating-l
date Wed, 12 Apr 2017 15:05:33 -0400
parents 40469b265ddb
children fcc1021bd496
line wrap: on
line diff
--- a/hubArchiveCreator.py	Fri Jan 20 17:12:03 2017 -0500
+++ b/hubArchiveCreator.py	Wed Apr 12 15:05:33 2017 -0400
@@ -28,6 +28,7 @@
 from Psl import Psl
 from TrackHub import TrackHub
 from bigPsl import bigPsl
+from BedBlastAlignments import BedBlastAlignments
 
 # TODO: Verify each subprocessed dependency is accessible [gff3ToGenePred, genePredToBed, twoBitInfo, faToTwoBit, bedToBigBed, sort
 
@@ -54,8 +55,11 @@
     # Generic Bed (Blastx transformed to bed)
     parser.add_argument('--bed', action='append', help='Bed generic format')
 
-    # Bed12+12 (tblastn)
-    parser.add_argument('--bigpsl', action='append', help='bigPsl format')
+    # BigPsl (blat alignment)
+    parser.add_argument('--bigpsl', action='append', help='bigPsl format, using bigPsl.as')
+
+    # Bed12+12 (tblastn alignment)
+    parser.add_argument('--bedBlastAlignments', action='append', help='Bed12+12 format, using bigPsl.as')
 
     # BigWig Management
     parser.add_argument('--bigwig', action='append', help='BigWig format')
@@ -127,6 +131,7 @@
     array_inputs_gtf = args.gtf
     array_inputs_psl = args.psl
     array_inputs_bigpsl = args.bigpsl
+    array_inputs_bed_blast_alignments = args.bedBlastAlignments
 
     outputFile = args.output
 
@@ -153,7 +158,8 @@
                         (array_inputs_gff3, Gff3),
                         (array_inputs_gtf, Gtf),
                         (array_inputs_psl, Psl),
-                        (array_inputs_bigpsl, bigPsl)]:
+                        (array_inputs_bigpsl, bigPsl),
+                        (array_inputs_bed_blast_alignments, BedBlastAlignments)]:
         if inputs:
             all_datatype_dictionary.update(create_ordered_datatype_objects(datatype_class, inputs, inputs_data))