Mercurial > repos > yating-l > hubarchivecreator
diff hubArchiveCreator.py @ 9:d5781fe7b782 draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit e42ecb807fb34a8e4ddcf96944dd74d24c695352-dirty
| author | yating-l |
|---|---|
| date | Wed, 28 Dec 2016 17:33:08 -0500 |
| parents | be8fd2f24c60 |
| children |
line wrap: on
line diff
--- a/hubArchiveCreator.py Thu Dec 22 15:32:27 2016 -0500 +++ b/hubArchiveCreator.py Wed Dec 28 17:33:08 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 @@ -26,6 +27,7 @@ from Gtf import Gtf from Psl import Psl from TrackHub import TrackHub +from bigPsl import bigPsl # TODO: Verify each subprocessed dependency is accessible [gff3ToGenePred, genePredToBed, twoBitInfo, faToTwoBit, bedToBigBed, sort @@ -46,9 +48,15 @@ # 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') + # Bed12+12 (tblastn) + parser.add_argument('--bigpsl', action='append', help='bigPsl format') + # BigWig Management parser.add_argument('--bigwig', action='append', help='BigWig format') @@ -113,10 +121,12 @@ 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 array_inputs_psl = args.psl + array_inputs_bigpsl = args.bigpsl outputFile = args.output @@ -139,9 +149,11 @@ (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)]: + (array_inputs_psl, Psl), + (array_inputs_bigpsl, bigPsl)]: if inputs: all_datatype_dictionary.update(create_ordered_datatype_objects(datatype_class, inputs, inputs_data))
