diff hubArchiveCreator.py @ 6:2cc7685a7182 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 48b59e91e2dcc2e97735ee35d587960cbfbce932
author yating-l
date Wed, 21 Dec 2016 18:00:09 -0500
parents 7b0d359de7ee
children be8fd2f24c60
line wrap: on
line diff
--- a/hubArchiveCreator.py	Wed Dec 21 17:26:51 2016 -0500
+++ b/hubArchiveCreator.py	Wed Dec 21 18:00:09 2016 -0500
@@ -18,6 +18,7 @@
 # Internal dependencies
 from Bam import Bam
 from BedSimpleRepeats import BedSimpleRepeats
+from BedSpliceJunctions import BedSpliceJunctions
 from Bed import Bed
 from BigWig import BigWig
 from util.Fasta import Fasta
@@ -46,6 +47,9 @@
     # Bed4+12 (TrfBig)
     parser.add_argument('--bedSimpleRepeats', action='append', help='Bed4+12 format, using simpleRepeats.as')
 
+    # Bed12+1 (regtools)
+    parser.add_argument('--bedSpliceJunctions', action='append', help='Bed12+1 format, using spliceJunctions.as')
+
     # Generic Bed (Blastx transformed to bed)
     parser.add_argument('--bed', action='append', help='Bed generic format')
 
@@ -113,6 +117,7 @@
     array_inputs_bam = args.bam
     array_inputs_bed_generic = args.bed
     array_inputs_bed_simple_repeats = args.bedSimpleRepeats
+    array_inputs_bed_splice_junctions = args.bedSpliceJunctions
     array_inputs_bigwig = args.bigwig
     array_inputs_gff3 = args.gff3
     array_inputs_gtf = args.gtf
@@ -139,6 +144,7 @@
                         (array_inputs_bed_generic, Bed),
                         (array_inputs_bigwig, BigWig),
                         (array_inputs_bed_simple_repeats, BedSimpleRepeats),
+                        (array_inputs_bed_splice_junctions, BedSpliceJunctions),
                         (array_inputs_gff3, Gff3),
                         (array_inputs_gtf, Gtf),
                         (array_inputs_psl, Psl)]: