# HG changeset patch # User ngsplot # Date 1427811327 14400 # Node ID f7debdafc7cb53e6c2e938eb3d11efcb056782cb # Parent 896dfca167fbe2708322818423af87a687e6b680 Uploaded diff -r 896dfca167fb -r f7debdafc7cb ngsplot_galaxytoolshed_v.10/ngsplot_intro/intro.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ngsplot_galaxytoolshed_v.10/ngsplot_intro/intro.xml Tue Mar 31 10:15:27 2015 -0400 @@ -0,0 +1,54 @@ + + + + + + + + + +**WELCOME TO NGS.PLOT ON GALAXY** + +----- + +**HOW TO USE** + +To use ngs.plot here on this GUI-based Galaxy implementation, first upload your alignment BAM file(s) using the *Get Data* -> **Upload File** tool on top of the left panel of this page. The names of your uploaded file(s) will then be displayed on the right panel. Next, select the *NGS.PLOT V2.47.1* -> **ngs.plot** tool on the left panel and all other input information required from you will be displayed as a form on the main central panel. Complete the form then click the *Execute* button to launch the program. Three output files (a profile chart, a heatmap, and a zipped data file) will be generated and displayed on the right panel, which you can click on to view. To further replot the figures into a format that you desire, use the *NGS.PLOT V2.47.1* -> **replot** tool with it's input file being the zip file previously generated by 'ngs.plot'. + + +(Note: installation of this Galaxy implementation of ngs.plot directly from the Galaxy Toolshed requires ngs.plot v2.47.1 to be already installed on your system. For instructions on the system installation of ngs.plot, please see https://github.com/shenlab-sinai/ngsplot.) + +----- + +**INTRODUCTION** + +ngs.plot is a program that allows you to easily visualize your next-generation sequencing (NGS) samples at functional genomic regions. + +DNA sequencing is at the core of genomics. The NGS technology has been tremendously improved in the past few years. It can now determine more than a billion DNA sequences within a week, generating terabytes of data. Applications include but are not limited to: 1. ChIP-seq which profiles genome-wide protein-DNA interactions; 2. RNA-seq which measures the gene expression levels. It is very helpful to look at the enrichment of those sequences at various functional regions. Although a genome browser (such as the UCSC genome browser) allows a researcher to visualize these data, it limits the view to a slice of the genome. While the genome is like a huge collection of functional elements that can be classified into different categories. Each category of elements may perform distinct functions and they might further contain modules. + +The signature advantage of ngs.plot is that it collects a large database of functional elements for many genomes. A user can ask for a functionally important region to be displayed in one command. It handles large sequencing data efficiently and has only modest memory requirement. For example, ngs.plot was used to draw a plot for all the genes on the mouse genome from 71GB of ChIP-seq data in 25 min, with a memory footprint of 2.7GB using 4 x 2.4GHz CPU cores. ngs.plot is also easy to use. A user only needs to create a very small text file called configuration, telling the program which samples to look at and how they should be combined with different regions, and then run the program with one command. This Galaxy web-based version of ngs.plot is also available for users not familiar with command-line programs. For additional program details, please refer to our project homepage at https://github.com/shenlab-sinai/ngsplot or to the publication cited below. + +----- + +**COMMERCIAL USE** + +ngs.plot is free for use by academic users. If you want to use it in commercial settings, please contact Lisa Placanica at: lisa.placanica@mssm.edu + +**HOW TO CITE** + +Shen, L.*, Shao, N., Liu, X. and Nestler, E. (2014) ngs.plot: Quick mining and visualization of next-generation sequencing data by integrating genomic databases, BMC Genomics, 15, 284. + +**CONTACT** + +ngs.plot is developed by Drs. Li Shen, Ningyi Shao and Xiaochuan Liu at the Icahn School of Medicine at Mount Sinai. If you have technical questions about ngs.plot, please use the discussion forum. For collaborations or any other matters, use: li.shen AT mssm.edu. + + + + + + diff -r 896dfca167fb -r f7debdafc7cb ngsplot_galaxytoolshed_v.10/ngsplot_main/ngsplot.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ngsplot_galaxytoolshed_v.10/ngsplot_main/ngsplot.xml Tue Mar 31 10:15:27 2015 -0400 @@ -0,0 +1,3175 @@ + + + +#if $numsamples.numsamples2 == "1": + runNGSplot.pl + $genome_name + $genomic_region_source_type.genomic_region + $genomic_region_source_type.further_information + $genomic_region_source_type.interval_size + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size + $numsamples.numsamples2 + $numsamples.usepair.usepair1 + + $numsamples.usepair.bamfile1 + $numsamples.usepair.reffile1 + $numsamples.usepair.genelist1.usegenelist1 + $numsamples.usepair.genelist1.genelist1 + $numsamples.usepair.title1 + $numsamples.usepair.fraglen1 + $numsamples.usepair.linecol1 + + $gene_database + $randomly_sample + $GO.gene_order + $GO.KNC + $GO.MIT + $GO.NRS + $chunk_size + $quality_requirement + $standard_error + $radius_size + $flooding_fraction + $smooth_method + $shaded_area + $out_zip $out_avg_png $out_hm_png + +#else if $numsamples.numsamples2 == "2": + runNGSplot.pl + $genome_name + $genomic_region_source_type.genomic_region + $genomic_region_source_type.further_information + $genomic_region_source_type.interval_size + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size + $numsamples.numsamples2 + $numsamples.usepair.usepair1 + + $numsamples.usepair.bamfile1 + $numsamples.usepair.reffile1 + $numsamples.usepair.genelist1.usegenelist1 + $numsamples.usepair.genelist1.genelist1 + $numsamples.usepair.title1 + $numsamples.usepair.fraglen1 + $numsamples.usepair.linecol1 + + $numsamples.usepair.bamfile2 + $numsamples.usepair.reffile2 + $numsamples.usepair.genelist2.usegenelist2 + $numsamples.usepair.genelist2.genelist2 + $numsamples.usepair.title2 + $numsamples.usepair.fraglen2 + $numsamples.usepair.linecol2 + + $gene_database + $randomly_sample + $GO.gene_order + $GO.KNC + $GO.MIT + $GO.NRS + $chunk_size + $quality_requirement + $standard_error + $radius_size + $flooding_fraction + $smooth_method + $shaded_area + $out_zip $out_avg_png $out_hm_png + +#else if $numsamples.numsamples2 == "3": + runNGSplot.pl + $genome_name + $genomic_region_source_type.genomic_region + $genomic_region_source_type.further_information + $genomic_region_source_type.interval_size + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size + $numsamples.numsamples2 + $numsamples.usepair.usepair1 + + $numsamples.usepair.bamfile1 + $numsamples.usepair.reffile1 + $numsamples.usepair.genelist1.usegenelist1 + $numsamples.usepair.genelist1.genelist1 + $numsamples.usepair.title1 + $numsamples.usepair.fraglen1 + $numsamples.usepair.linecol1 + + $numsamples.usepair.bamfile2 + $numsamples.usepair.reffile2 + $numsamples.usepair.genelist2.usegenelist2 + $numsamples.usepair.genelist2.genelist2 + $numsamples.usepair.title2 + $numsamples.usepair.fraglen2 + $numsamples.usepair.linecol2 + + $numsamples.usepair.bamfile3 + $numsamples.usepair.reffile3 + $numsamples.usepair.genelist3.usegenelist3 + $numsamples.usepair.genelist3.genelist3 + $numsamples.usepair.title3 + $numsamples.usepair.fraglen3 + $numsamples.usepair.linecol3 + + $gene_database + $randomly_sample + $GO.gene_order + $GO.KNC + $GO.MIT + $GO.NRS + $chunk_size + $quality_requirement + $standard_error + $radius_size + $flooding_fraction + $smooth_method + $shaded_area + $out_zip $out_avg_png $out_hm_png + +#else if $numsamples.numsamples2 == "4": + runNGSplot.pl + $genome_name + $genomic_region_source_type.genomic_region + $genomic_region_source_type.further_information + $genomic_region_source_type.interval_size + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size + $numsamples.numsamples2 + $numsamples.usepair.usepair1 + + $numsamples.usepair.bamfile1 + $numsamples.usepair.reffile1 + $numsamples.usepair.genelist1.usegenelist1 + $numsamples.usepair.genelist1.genelist1 + $numsamples.usepair.title1 + $numsamples.usepair.fraglen1 + $numsamples.usepair.linecol1 + + $numsamples.usepair.bamfile2 + $numsamples.usepair.reffile2 + $numsamples.usepair.genelist2.usegenelist2 + $numsamples.usepair.genelist2.genelist2 + $numsamples.usepair.title2 + $numsamples.usepair.fraglen2 + $numsamples.usepair.linecol2 + + $numsamples.usepair.bamfile3 + $numsamples.usepair.reffile3 + $numsamples.usepair.genelist3.usegenelist3 + $numsamples.usepair.genelist3.genelist3 + $numsamples.usepair.title3 + $numsamples.usepair.fraglen3 + $numsamples.usepair.linecol3 + + $numsamples.usepair.bamfile4 + $numsamples.usepair.reffile4 + $numsamples.usepair.genelist4.usegenelist4 + $numsamples.usepair.genelist4.genelist4 + $numsamples.usepair.title4 + $numsamples.usepair.fraglen4 + $numsamples.usepair.linecol4 + + $gene_database + $randomly_sample + $GO.gene_order + $GO.KNC + $GO.MIT + $GO.NRS + $chunk_size + $quality_requirement + $standard_error + $radius_size + $flooding_fraction + $smooth_method + $shaded_area + $out_zip $out_avg_png $out_hm_png + +#else if $numsamples.numsamples2 == "5": + runNGSplot.pl + $genome_name + $genomic_region_source_type.genomic_region + $genomic_region_source_type.further_information + $genomic_region_source_type.interval_size + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size + $numsamples.numsamples2 + $numsamples.usepair.usepair1 + + $numsamples.usepair.bamfile1 + $numsamples.usepair.reffile1 + $numsamples.usepair.genelist1.usegenelist1 + $numsamples.usepair.genelist1.genelist1 + $numsamples.usepair.title1 + $numsamples.usepair.fraglen1 + $numsamples.usepair.linecol1 + + $numsamples.usepair.bamfile2 + $numsamples.usepair.reffile2 + $numsamples.usepair.genelist2.usegenelist2 + $numsamples.usepair.genelist2.genelist2 + $numsamples.usepair.title2 + $numsamples.usepair.fraglen2 + $numsamples.usepair.linecol2 + + $numsamples.usepair.bamfile3 + $numsamples.usepair.reffile3 + $numsamples.usepair.genelist3.usegenelist3 + $numsamples.usepair.genelist3.genelist3 + $numsamples.usepair.title3 + $numsamples.usepair.fraglen3 + $numsamples.usepair.linecol3 + + $numsamples.usepair.bamfile4 + $numsamples.usepair.reffile4 + $numsamples.usepair.genelist4.usegenelist4 + $numsamples.usepair.genelist4.genelist4 + $numsamples.usepair.title4 + $numsamples.usepair.fraglen4 + $numsamples.usepair.linecol4 + + $numsamples.usepair.bamfile5 + $numsamples.usepair.reffile5 + $numsamples.usepair.genelist5.usegenelist5 + $numsamples.usepair.genelist5.genelist5 + $numsamples.usepair.title5 + $numsamples.usepair.fraglen5 + $numsamples.usepair.linecol5 + + $gene_database + $randomly_sample + $GO.gene_order + $GO.KNC + $GO.MIT + $GO.NRS + $chunk_size + $quality_requirement + $standard_error + $radius_size + $flooding_fraction + $smooth_method + $shaded_area + $out_zip $out_avg_png $out_hm_png + +#else if $numsamples.numsamples2 == "6": + runNGSplot.pl + $genome_name + $genomic_region_source_type.genomic_region + $genomic_region_source_type.further_information + $genomic_region_source_type.interval_size + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size + $numsamples.numsamples2 + $numsamples.usepair.usepair1 + + $numsamples.usepair.bamfile1 + $numsamples.usepair.reffile1 + $numsamples.usepair.genelist1.usegenelist1 + $numsamples.usepair.genelist1.genelist1 + $numsamples.usepair.title1 + $numsamples.usepair.fraglen1 + $numsamples.usepair.linecol1 + + $numsamples.usepair.bamfile2 + $numsamples.usepair.reffile2 + $numsamples.usepair.genelist2.usegenelist2 + $numsamples.usepair.genelist2.genelist2 + $numsamples.usepair.title2 + $numsamples.usepair.fraglen2 + $numsamples.usepair.linecol2 + + $numsamples.usepair.bamfile3 + $numsamples.usepair.reffile3 + $numsamples.usepair.genelist3.usegenelist3 + $numsamples.usepair.genelist3.genelist3 + $numsamples.usepair.title3 + $numsamples.usepair.fraglen3 + $numsamples.usepair.linecol3 + + $numsamples.usepair.bamfile4 + $numsamples.usepair.reffile4 + $numsamples.usepair.genelist4.usegenelist4 + $numsamples.usepair.genelist4.genelist4 + $numsamples.usepair.title4 + $numsamples.usepair.fraglen4 + $numsamples.usepair.linecol4 + + $numsamples.usepair.bamfile5 + $numsamples.usepair.reffile5 + $numsamples.usepair.genelist5.usegenelist5 + $numsamples.usepair.genelist5.genelist5 + $numsamples.usepair.title5 + $numsamples.usepair.fraglen5 + $numsamples.usepair.linecol5 + + $numsamples.usepair.bamfile6 + $numsamples.usepair.reffile6 + $numsamples.usepair.genelist6.usegenelist6 + $numsamples.usepair.genelist6.genelist6 + $numsamples.usepair.title6 + $numsamples.usepair.fraglen6 + $numsamples.usepair.linecol6 + + $gene_database + $randomly_sample + $GO.gene_order + $GO.KNC + $GO.MIT + $GO.NRS + $chunk_size + $quality_requirement + $standard_error + $radius_size + $flooding_fraction + $smooth_method + $shaded_area + $out_zip $out_avg_png $out_hm_png + +#else if $numsamples.numsamples2 == "7": + runNGSplot.pl + $genome_name + $genomic_region_source_type.genomic_region + $genomic_region_source_type.further_information + $genomic_region_source_type.interval_size + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size + $numsamples.numsamples2 + $numsamples.usepair.usepair1 + + $numsamples.usepair.bamfile1 + $numsamples.usepair.reffile1 + $numsamples.usepair.genelist1.usegenelist1 + $numsamples.usepair.genelist1.genelist1 + $numsamples.usepair.title1 + $numsamples.usepair.fraglen1 + $numsamples.usepair.linecol1 + + $numsamples.usepair.bamfile2 + $numsamples.usepair.reffile2 + $numsamples.usepair.genelist2.usegenelist2 + $numsamples.usepair.genelist2.genelist2 + $numsamples.usepair.title2 + $numsamples.usepair.fraglen2 + $numsamples.usepair.linecol2 + + $numsamples.usepair.bamfile3 + $numsamples.usepair.reffile3 + $numsamples.usepair.genelist3.usegenelist3 + $numsamples.usepair.genelist3.genelist3 + $numsamples.usepair.title3 + $numsamples.usepair.fraglen3 + $numsamples.usepair.linecol3 + + $numsamples.usepair.bamfile4 + $numsamples.usepair.reffile4 + $numsamples.usepair.genelist4.usegenelist4 + $numsamples.usepair.genelist4.genelist4 + $numsamples.usepair.title4 + $numsamples.usepair.fraglen4 + $numsamples.usepair.linecol4 + + $numsamples.usepair.bamfile5 + $numsamples.usepair.reffile5 + $numsamples.usepair.genelist5.usegenelist5 + $numsamples.usepair.genelist5.genelist5 + $numsamples.usepair.title5 + $numsamples.usepair.fraglen5 + $numsamples.usepair.linecol5 + + $numsamples.usepair.bamfile6 + $numsamples.usepair.reffile6 + $numsamples.usepair.genelist6.usegenelist6 + $numsamples.usepair.genelist6.genelist6 + $numsamples.usepair.title6 + $numsamples.usepair.fraglen6 + $numsamples.usepair.linecol6 + + $numsamples.usepair.bamfile7 + $numsamples.usepair.reffile7 + $numsamples.usepair.genelist7.usegenelist7 + $numsamples.usepair.genelist7.genelist7 + $numsamples.usepair.title7 + $numsamples.usepair.fraglen7 + $numsamples.usepair.linecol7 + + $gene_database + $randomly_sample + $GO.gene_order + $GO.KNC + $GO.MIT + $GO.NRS + $chunk_size + $quality_requirement + $standard_error + $radius_size + $flooding_fraction + $smooth_method + $shaded_area + $out_zip $out_avg_png $out_hm_png + +#else if $numsamples.numsamples2 == "8": + runNGSplot.pl + $genome_name + $genomic_region_source_type.genomic_region + $genomic_region_source_type.further_information + $genomic_region_source_type.interval_size + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size + $numsamples.numsamples2 + $numsamples.usepair.usepair1 + + $numsamples.usepair.bamfile1 + $numsamples.usepair.reffile1 + $numsamples.usepair.genelist1.usegenelist1 + $numsamples.usepair.genelist1.genelist1 + $numsamples.usepair.title1 + $numsamples.usepair.fraglen1 + $numsamples.usepair.linecol1 + + $numsamples.usepair.bamfile2 + $numsamples.usepair.reffile2 + $numsamples.usepair.genelist2.usegenelist2 + $numsamples.usepair.genelist2.genelist2 + $numsamples.usepair.title2 + $numsamples.usepair.fraglen2 + $numsamples.usepair.linecol2 + + $numsamples.usepair.bamfile3 + $numsamples.usepair.reffile3 + $numsamples.usepair.genelist3.usegenelist3 + $numsamples.usepair.genelist3.genelist3 + $numsamples.usepair.title3 + $numsamples.usepair.fraglen3 + $numsamples.usepair.linecol3 + + $numsamples.usepair.bamfile4 + $numsamples.usepair.reffile4 + $numsamples.usepair.genelist4.usegenelist4 + $numsamples.usepair.genelist4.genelist4 + $numsamples.usepair.title4 + $numsamples.usepair.fraglen4 + $numsamples.usepair.linecol4 + + $numsamples.usepair.bamfile5 + $numsamples.usepair.reffile5 + $numsamples.usepair.genelist5.usegenelist5 + $numsamples.usepair.genelist5.genelist5 + $numsamples.usepair.title5 + $numsamples.usepair.fraglen5 + $numsamples.usepair.linecol5 + + $numsamples.usepair.bamfile6 + $numsamples.usepair.reffile6 + $numsamples.usepair.genelist6.usegenelist6 + $numsamples.usepair.genelist6.genelist6 + $numsamples.usepair.title6 + $numsamples.usepair.fraglen6 + $numsamples.usepair.linecol6 + + $numsamples.usepair.bamfile7 + $numsamples.usepair.reffile7 + $numsamples.usepair.genelist7.usegenelist7 + $numsamples.usepair.genelist7.genelist7 + $numsamples.usepair.title7 + $numsamples.usepair.fraglen7 + $numsamples.usepair.linecol7 + + $numsamples.usepair.bamfile8 + $numsamples.usepair.reffile8 + $numsamples.usepair.genelist8.usegenelist8 + $numsamples.usepair.genelist8.genelist8 + $numsamples.usepair.title8 + $numsamples.usepair.fraglen8 + $numsamples.usepair.linecol8 + + $gene_database + $randomly_sample + $GO.gene_order + $GO.KNC + $GO.MIT + $GO.NRS + $chunk_size + $quality_requirement + $standard_error + $radius_size + $flooding_fraction + $smooth_method + $shaded_area + $out_zip $out_avg_png $out_hm_png + +#else if $numsamples.numsamples2 == "9": + runNGSplot.pl + $genome_name + $genomic_region_source_type.genomic_region + $genomic_region_source_type.further_information + $genomic_region_source_type.interval_size + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size + $numsamples.numsamples2 + $numsamples.usepair.usepair1 + + $numsamples.usepair.bamfile1 + $numsamples.usepair.reffile1 + $numsamples.usepair.genelist1.usegenelist1 + $numsamples.usepair.genelist1.genelist1 + $numsamples.usepair.title1 + $numsamples.usepair.fraglen1 + $numsamples.usepair.linecol1 + + $numsamples.usepair.bamfile2 + $numsamples.usepair.reffile2 + $numsamples.usepair.genelist2.usegenelist2 + $numsamples.usepair.genelist2.genelist2 + $numsamples.usepair.title2 + $numsamples.usepair.fraglen2 + $numsamples.usepair.linecol2 + + $numsamples.usepair.bamfile3 + $numsamples.usepair.reffile3 + $numsamples.usepair.genelist3.usegenelist3 + $numsamples.usepair.genelist3.genelist3 + $numsamples.usepair.title3 + $numsamples.usepair.fraglen3 + $numsamples.usepair.linecol3 + + $numsamples.usepair.bamfile4 + $numsamples.usepair.reffile4 + $numsamples.usepair.genelist4.usegenelist4 + $numsamples.usepair.genelist4.genelist4 + $numsamples.usepair.title4 + $numsamples.usepair.fraglen4 + $numsamples.usepair.linecol4 + + $numsamples.usepair.bamfile5 + $numsamples.usepair.reffile5 + $numsamples.usepair.genelist5.usegenelist5 + $numsamples.usepair.genelist5.genelist5 + $numsamples.usepair.title5 + $numsamples.usepair.fraglen5 + $numsamples.usepair.linecol5 + + $numsamples.usepair.bamfile6 + $numsamples.usepair.reffile6 + $numsamples.usepair.genelist6.usegenelist6 + $numsamples.usepair.genelist6.genelist6 + $numsamples.usepair.title6 + $numsamples.usepair.fraglen6 + $numsamples.usepair.linecol6 + + $numsamples.usepair.bamfile7 + $numsamples.usepair.reffile7 + $numsamples.usepair.genelist7.usegenelist7 + $numsamples.usepair.genelist7.genelist7 + $numsamples.usepair.title7 + $numsamples.usepair.fraglen7 + $numsamples.usepair.linecol7 + + $numsamples.usepair.bamfile8 + $numsamples.usepair.reffile8 + $numsamples.usepair.genelist8.usegenelist8 + $numsamples.usepair.genelist8.genelist8 + $numsamples.usepair.title8 + $numsamples.usepair.fraglen8 + $numsamples.usepair.linecol8 + + $numsamples.usepair.bamfile9 + $numsamples.usepair.reffile9 + $numsamples.usepair.genelist9.usegenelist9 + $numsamples.usepair.genelist9.genelist9 + $numsamples.usepair.title9 + $numsamples.usepair.fraglen9 + $numsamples.usepair.linecol9 + + $gene_database + $randomly_sample + $GO.gene_order + $GO.KNC + $GO.MIT + $GO.NRS + $chunk_size + $quality_requirement + $standard_error + $radius_size + $flooding_fraction + $smooth_method + $shaded_area + $out_zip $out_avg_png $out_hm_png + +#else if $numsamples.numsamples2 == "10": + runNGSplot.pl + $genome_name + $genomic_region_source_type.genomic_region + $genomic_region_source_type.further_information + $genomic_region_source_type.interval_size + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option + $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size + $numsamples.numsamples2 + $numsamples.usepair.usepair1 + + $numsamples.usepair.bamfile1 + $numsamples.usepair.reffile1 + $numsamples.usepair.genelist1.usegenelist1 + $numsamples.usepair.genelist1.genelist1 + $numsamples.usepair.title1 + $numsamples.usepair.fraglen1 + $numsamples.usepair.linecol1 + + $numsamples.usepair.bamfile2 + $numsamples.usepair.reffile2 + $numsamples.usepair.genelist2.usegenelist2 + $numsamples.usepair.genelist2.genelist2 + $numsamples.usepair.title2 + $numsamples.usepair.fraglen2 + $numsamples.usepair.linecol2 + + $numsamples.usepair.bamfile3 + $numsamples.usepair.reffile3 + $numsamples.usepair.genelist3.usegenelist3 + $numsamples.usepair.genelist3.genelist3 + $numsamples.usepair.title3 + $numsamples.usepair.fraglen3 + $numsamples.usepair.linecol3 + + $numsamples.usepair.bamfile4 + $numsamples.usepair.reffile4 + $numsamples.usepair.genelist4.usegenelist4 + $numsamples.usepair.genelist4.genelist4 + $numsamples.usepair.title4 + $numsamples.usepair.fraglen4 + $numsamples.usepair.linecol4 + + $numsamples.usepair.bamfile5 + $numsamples.usepair.reffile5 + $numsamples.usepair.genelist5.usegenelist5 + $numsamples.usepair.genelist5.genelist5 + $numsamples.usepair.title5 + $numsamples.usepair.fraglen5 + $numsamples.usepair.linecol5 + + $numsamples.usepair.bamfile6 + $numsamples.usepair.reffile6 + $numsamples.usepair.genelist6.usegenelist6 + $numsamples.usepair.genelist6.genelist6 + $numsamples.usepair.title6 + $numsamples.usepair.fraglen6 + $numsamples.usepair.linecol6 + + $numsamples.usepair.bamfile7 + $numsamples.usepair.reffile7 + $numsamples.usepair.genelist7.usegenelist7 + $numsamples.usepair.genelist7.genelist7 + $numsamples.usepair.title7 + $numsamples.usepair.fraglen7 + $numsamples.usepair.linecol7 + + $numsamples.usepair.bamfile8 + $numsamples.usepair.reffile8 + $numsamples.usepair.genelist8.usegenelist8 + $numsamples.usepair.genelist8.genelist8 + $numsamples.usepair.title8 + $numsamples.usepair.fraglen8 + $numsamples.usepair.linecol8 + + $numsamples.usepair.bamfile9 + $numsamples.usepair.reffile9 + $numsamples.usepair.genelist9.usegenelist9 + $numsamples.usepair.genelist9.genelist9 + $numsamples.usepair.title9 + $numsamples.usepair.fraglen9 + $numsamples.usepair.linecol9 + + $numsamples.usepair.bamfile10 + $numsamples.usepair.reffile10 + $numsamples.usepair.genelist10.usegenelist10 + $numsamples.usepair.genelist10.genelist10 + $numsamples.usepair.title10 + $numsamples.usepair.fraglen10 + $numsamples.usepair.linecol10 + + $gene_database + $randomly_sample + $GO.gene_order + $GO.KNC + $GO.MIT + $GO.NRS + $chunk_size + $quality_requirement + $standard_error + $radius_size + $flooding_fraction + $smooth_method + $shaded_area + $out_zip $out_avg_png $out_hm_png + +#end if: + + + + +<--> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 896dfca167fb -r f7debdafc7cb ngsplot_galaxytoolshed_v.10/ngsplot_main/runNGSplot.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ngsplot_galaxytoolshed_v.10/ngsplot_main/runNGSplot.pl Tue Mar 31 10:15:27 2015 -0400 @@ -0,0 +1,126 @@ +#!/usr/bin/perl -w +use strict; +use File::Basename 'dirname'; +use File::Spec; +use Cwd 'abs_path'; + +my @inputs = @ARGV; +my @inputs2 = @inputs; + +my $genome_name = shift(@inputs); +my $genomic_region_source_type__genomic_region = shift(@inputs); +my $genomic_region_source_type__further_information = shift(@inputs); +my $genomic_region_source_type__interval_size = shift(@inputs); +my $genomic_region_source_type__flanking_region_option_source_type__flanking_region_option = shift(@inputs); +my $genomic_region_source_type__flanking_region_option_source_type__flanking_region_size = shift(@inputs); +my $numsamples = shift(@inputs); +my $usepairs = shift(@inputs); + +#print STDERR "inputs @inputs\n"; + +my $randfile = rand(100)."\.config\.txt"; +my $randfile2 = $randfile; +$randfile2 =~ s/config\.txt/logfile/gm; + +my $outfile = File::Spec->catfile(abs_path(dirname(__FILE__)),"$randfile"); +open(FILE,">$outfile"); + +for (my $i=1;$i<=$numsamples;$i++) { + my $bamfile=shift(@inputs); + my $reffile=shift(@inputs); + my $usegenelist=shift(@inputs); + my $genelist=shift(@inputs); + my $title=shift(@inputs); + my $fraglen=shift(@inputs); + my $color=shift(@inputs); + if ($usepairs eq 'yes') { + syswrite(FILE, "$bamfile\:$reffile\t$genelist\t$title\t$fraglen\t$color\n"); + }else { + syswrite(FILE, "$bamfile\t$genelist\t$title\t$fraglen\t$color\n"); + } +} +close(FILE); + +my $gene_database = shift(@inputs); +my $randomly_sample = shift(@inputs); +my $gene_order = shift(@inputs); +my $knc = shift(@inputs); +my $mit = shift(@inputs); +my $nrs = shift(@inputs); +my $chunk_size = shift(@inputs); +my $quality_requirement = shift(@inputs); +my $standard_error = shift(@inputs); +my $radius_size = shift(@inputs); +my $flooding_fraction = shift(@inputs); +my $smooth_method = shift(@inputs); +my $shaded_area = shift(@inputs); +my $out_name = shift(@inputs); +my $out_avg_name = shift(@inputs); +my $out_hm_name = shift(@inputs); + + +my $G = $genome_name; +my $R = $genomic_region_source_type__genomic_region; +my $C = $outfile; +my $O = $out_name; +my $O2 = $out_avg_name; +my $O3 = $out_hm_name; +my $F = $genomic_region_source_type__further_information; +my $D = $gene_database; +my $L = $genomic_region_source_type__flanking_region_option_source_type__flanking_region_size; +my $N = $genomic_region_source_type__flanking_region_option_source_type__flanking_region_size; +my $RB = $radius_size; +my $S = $randomly_sample; +my $CS = $chunk_size; +my $MQ = $quality_requirement; +my $IN = $genomic_region_source_type__interval_size; +my $SE = $standard_error; +my $MW = $smooth_method; +my $H = $shaded_area; +my $GO = $gene_order; +my $KNC = $knc; +my $MIT = $mit; +my $NRS = $nrs; +my $FC = $flooding_fraction; + +if ($GO eq 'km') { + $GO = "$GO -KNC $KNC -MIT $MIT -NRS $NRS"; +} + +my $logfile = File::Spec->catfile(abs_path(dirname(__FILE__)),"$randfile2"); +open(FILE2,">>$logfile"); +my $cmd5="pwd >> $logfile 2>&1"; +system($cmd5); + +my $cmd=''; +if (($R eq 'tss')||($R eq 'tes')) { + $cmd = "ngs.plot.r -Galaxy 1 -P 0 -G $G -R $R -C $C -O $O -O2 $O2 -O3 $O3 -D $D -L $L -S $S -GO $GO -CS $CS -MQ $MQ -SE $SE -RB $RB -FC $FC -MW $MW -H $H >> $logfile 2>&1"; +}elsif ($genomic_region_source_type__flanking_region_option_source_type__flanking_region_option eq 'flanking_region_size') { + if ($IN eq 'automatic') { + $cmd = "ngs.plot.r -Galaxy 1 -P 0 -G $G -R $R -C $C -O $O -O2 $O2 -O3 $O3 -D $D -L $L -S $S -GO $GO -CS $CS -MQ $MQ -SE $SE -RB $RB -FC $FC -MW $MW -H $H >> $logfile 2>&1"; + }else { + $cmd = "ngs.plot.r -Galaxy 1 -P 0 -G $G -R $R -C $C -O $O -O2 $O2 -O3 $O3 -D $D -L $L -S $S -GO $GO -CS $CS -MQ $MQ -SE $SE -RB $RB -FC $FC -MW $MW -H $H -IN $IN >> $logfile 2>&1"; + } +}elsif ($genomic_region_source_type__flanking_region_option_source_type__flanking_region_option eq 'flanking_floating_size') { + if ($IN eq 'automatic') { + $cmd = "ngs.plot.r -Galaxy 1 -P 0 -G $G -R $R -C $C -O $O -O2 $O2 -O3 $O3 -D $D -N $N -S $S -GO $GO -CS $CS -MQ $MQ -SE $SE -RB $RB -FC $FC -MW $MW -H $H >> $logfile 2>&1"; + }else { + $cmd = "ngs.plot.r -Galaxy 1 -P 0 -G $G -R $R -C $C -O $O -O2 $O2 -O3 $O3 -D $D -N $N -S $S -GO $GO -CS $CS -MQ $MQ -SE $SE -RB $RB -FC $FC -MW $MW -H $H -IN $IN >> $logfile 2>&1"; + } +} +my $cmd2="cp data.zip $O"; +my $cmd3="rm $outfile"; +my $cmd4="rm $logfile"; +syswrite(FILE2, "\n$cmd\n"); +syswrite(FILE2, "\n$cmd2\n"); +syswrite(FILE2, "\n$cmd3\n"); +syswrite(FILE2, "\n$cmd4\n\n"); + +system($cmd); +system($cmd2); +system($cmd3); +system($cmd4); + +close(FILE2); + + diff -r 896dfca167fb -r f7debdafc7cb ngsplot_galaxytoolshed_v.10/ngsplot_replot/replot.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ngsplot_galaxytoolshed_v.10/ngsplot_replot/replot.xml Tue Mar 31 10:15:27 2015 -0400 @@ -0,0 +1,157 @@ + + +#if $outtype.outtype2 == "prof": + runreplot.pl $input_zipfile $outtype.outtype2 $output_filename + $outtype.WD + $outtype.HG + $outtype.SE + $outtype.H + $outtype.MW + $outtype.Y.Y2 + $outtype.Y.Y3 + $outtype.LEG + $outtype.BOX + $outtype.VLN + $outtype.XYL + $outtype.LWD + $outtype.FS +#else if $outtype.outtype2 == "heatmap": + runreplot.pl $input_zipfile $outtype.outtype2 $output_filename + $outtype.GO.GO2 + $outtype.GO.KNC + $outtype.GO.MIT + $outtype.GO.NRS + $outtype.LOW + $outtype.RR + $outtype.FC + $outtype.CO + $outtype.CD + $outtype.FS + dummy + dummy + dummy +#end if: + + + + + + +<--> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<--> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 896dfca167fb -r f7debdafc7cb ngsplot_galaxytoolshed_v.10/ngsplot_replot/runreplot.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ngsplot_galaxytoolshed_v.10/ngsplot_replot/runreplot.pl Tue Mar 31 10:15:27 2015 -0400 @@ -0,0 +1,63 @@ +#!/usr/bin/perl -w +use strict; +use File::Basename 'dirname'; +use File::Spec; +use Cwd 'abs_path'; + +my $input_file = $ARGV[0]; +my $output_type = $ARGV[1]; +my $output_filename = $ARGV[2]; + +my $cmd1 = "cp $input_file data.zip"; +my $cmd2 = ""; +my $cmd3 = "mv output.pdf $output_filename"; + +my $FS = ""; +if ($output_type eq 'prof') { + my $WD = "-WD $ARGV[3]"; + my $HG = "-HG $ARGV[4]"; + my $SE = "-SE $ARGV[5]"; + my $H = "-H $ARGV[6]"; + my $MW = "-MW $ARGV[7]"; + my $Y = "-Y $ARGV[8]"; + my $YAS = "-YAS $ARGV[9]"; + my $LEG = "-LEG $ARGV[10]"; + my $BOX = "-BOX $ARGV[11]"; + my $VLN = "-VLN $ARGV[12]"; + my $XYL = "-XYL $ARGV[13]"; + my $LWD = "-LWD $ARGV[14]"; + $FS = "-FS $ARGV[15]"; + + if ($Y =~ /no$/gm) { + $cmd2 = "replot.r $output_type -I data.zip -O output $WD $HG $SE $H $MW $LEG $BOX $VLN $XYL $LWD $FS"; + }else { + $cmd2 = "replot.r $output_type -I data.zip -O output $WD $HG $SE $H $MW $LEG $BOX $VLN $XYL $LWD $FS $YAS"; + } +}elsif ($output_type eq 'heatmap') { + my $GO = "-GO $ARGV[3]"; + my $KNC = "-KNC $ARGV[4]"; + my $MIT = "-MIT $ARGV[5]"; + my $NRS = "-NRS $ARGV[6]"; + my $LOW = "-LOW $ARGV[7]"; + my $RR = "-RR $ARGV[8]"; + my $FC = "-FC $ARGV[9]"; + my $CO = "-CO $ARGV[10]"; + my $CD = "-CD $ARGV[11]"; + $FS = "-FS $ARGV[12]"; + my $DUM1 = $ARGV[13]; + my $DUM2 = $ARGV[14]; + my $DUM3 = $ARGV[15]; + + if ($CO =~ /default/gm) { $CO = ""; } + + if ($GO =~ /km$/gm) { + $cmd2 = "replot.r $output_type -I data.zip -O output $LOW $RR $FC $CO $CD $FS $GO $KNC $MIT $NRS"; + }else { + $cmd2 = "replot.r $output_type -I data.zip -O output $LOW $RR $FC $CO $CD $FS $GO"; + } +} +system($cmd1); +system($cmd2); +system($cmd3); + + diff -r 896dfca167fb -r f7debdafc7cb ngsplot_galaxytoolshed_v1.0/ngsplot_galaxytoolshed_v1.0.tar Binary file ngsplot_galaxytoolshed_v1.0/ngsplot_galaxytoolshed_v1.0.tar has changed diff -r 896dfca167fb -r f7debdafc7cb ngsplot_galaxytoolshed_v1.0/ngsplot_intro/intro.xml --- a/ngsplot_galaxytoolshed_v1.0/ngsplot_intro/intro.xml Thu Mar 19 17:39:23 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ - - - - - - - - - -**WELCOME TO NGS.PLOT ON GALAXY** - ------ - -**HOW TO USE** - -To use ngs.plot here on this GUI-based Galaxy implementation, first upload your alignment BAM file(s) using the *Get Data* -> **Upload File** tool on top of the left panel of this page. The names of your uploaded file(s) will then be displayed on the right panel. Next, select the *NGS.PLOT V2.47.1* -> **ngs.plot** tool on the left panel and all other input information required from you will be displayed as a form on the main central panel. Complete the form then click the *Execute* button to launch the program. Three output files (a profile chart, a heatmap, and a zipped data file) will be generated and displayed on the right panel, which you can click on to view. To further replot the figures into a format that you desire, use the *NGS.PLOT V2.47.1* -> **replot** tool with it's input file being the zip file previously generated by 'ngs.plot'. - -For a more detailed explanation of how to run ngs.plot on Galaxy, please see the tutorial at https://code.google.com/p/ngsplot/wiki/webngsplot. - -(Note: installation of this Galaxy implementation of ngs.plot directly from the Galaxy Toolshed requires ngs.plot v2.47.1 to be already installed on your system. For instructions on the system installation of ngs.plot, please see https://code.google.com/p/ngsplot/.) - ------ - -**INTRODUCTION** - -ngs.plot is a program that allows you to easily visualize your next-generation sequencing (NGS) samples at functional genomic regions. - -DNA sequencing is at the core of genomics. The NGS technology has been tremendously improved in the past few years. It can now determine more than a billion DNA sequences within a week, generating terabytes of data. Applications include but are not limited to: 1. ChIP-seq which profiles genome-wide protein-DNA interactions; 2. RNA-seq which measures the gene expression levels. It is very helpful to look at the enrichment of those sequences at various functional regions. Although a genome browser (such as the UCSC genome browser) allows a researcher to visualize these data, it limits the view to a slice of the genome. While the genome is like a huge collection of functional elements that can be classified into different categories. Each category of elements may perform distinct functions and they might further contain modules. - -The signature advantage of ngs.plot is that it collects a large database of functional elements for many genomes. A user can ask for a functionally important region to be displayed in one command. It handles large sequencing data efficiently and has only modest memory requirement. For example, ngs.plot was used to draw a plot for all the genes on the mouse genome from 71GB of ChIP-seq data in 25 min, with a memory footprint of 2.7GB using 4 x 2.4GHz CPU cores. ngs.plot is also easy to use. A user only needs to create a very small text file called configuration, telling the program which samples to look at and how they should be combined with different regions, and then run the program with one command. This Galaxy web-based version of ngs.plot is also available for users not familiar with command-line programs. For additional program details, please refer to our project homepage at https://code.google.com/p/ngsplot or to the publication cited below. - ------ - -**COMMERCIAL USE** - -ngs.plot is free for use by academic users. If you want to use it in commercial settings, please contact Lisa Placanica at: lisa.placanica@mssm.edu - -**HOW TO CITE** - -Shen, L.*, Shao, N., Liu, X. and Nestler, E. (2014) ngs.plot: Quick mining and visualization of next-generation sequencing data by integrating genomic databases, BMC Genomics, 15, 284. - -**CONTACT** - -ngs.plot is developed by Drs. Li Shen, Ningyi Shao and Xiaochuan Liu at the Icahn School of Medicine at Mount Sinai. If you have technical questions about ngs.plot, please use the discussion forum. For collaborations or any other matters, use: li.shen AT mssm.edu. - - - - - - diff -r 896dfca167fb -r f7debdafc7cb ngsplot_galaxytoolshed_v1.0/ngsplot_main/ngsplot.xml --- a/ngsplot_galaxytoolshed_v1.0/ngsplot_main/ngsplot.xml Thu Mar 19 17:39:23 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3175 +0,0 @@ - - - -#if $numsamples.numsamples2 == "1": - runNGSplot.pl - $genome_name - $genomic_region_source_type.genomic_region - $genomic_region_source_type.further_information - $genomic_region_source_type.interval_size - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size - $numsamples.numsamples2 - $numsamples.usepair.usepair1 - - $numsamples.usepair.bamfile1 - $numsamples.usepair.reffile1 - $numsamples.usepair.genelist1.usegenelist1 - $numsamples.usepair.genelist1.genelist1 - $numsamples.usepair.title1 - $numsamples.usepair.fraglen1 - $numsamples.usepair.linecol1 - - $gene_database - $randomly_sample - $GO.gene_order - $GO.KNC - $GO.MIT - $GO.NRS - $chunk_size - $quality_requirement - $standard_error - $radius_size - $flooding_fraction - $smooth_method - $shaded_area - $out_zip $out_avg_png $out_hm_png - -#else if $numsamples.numsamples2 == "2": - runNGSplot.pl - $genome_name - $genomic_region_source_type.genomic_region - $genomic_region_source_type.further_information - $genomic_region_source_type.interval_size - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size - $numsamples.numsamples2 - $numsamples.usepair.usepair1 - - $numsamples.usepair.bamfile1 - $numsamples.usepair.reffile1 - $numsamples.usepair.genelist1.usegenelist1 - $numsamples.usepair.genelist1.genelist1 - $numsamples.usepair.title1 - $numsamples.usepair.fraglen1 - $numsamples.usepair.linecol1 - - $numsamples.usepair.bamfile2 - $numsamples.usepair.reffile2 - $numsamples.usepair.genelist2.usegenelist2 - $numsamples.usepair.genelist2.genelist2 - $numsamples.usepair.title2 - $numsamples.usepair.fraglen2 - $numsamples.usepair.linecol2 - - $gene_database - $randomly_sample - $GO.gene_order - $GO.KNC - $GO.MIT - $GO.NRS - $chunk_size - $quality_requirement - $standard_error - $radius_size - $flooding_fraction - $smooth_method - $shaded_area - $out_zip $out_avg_png $out_hm_png - -#else if $numsamples.numsamples2 == "3": - runNGSplot.pl - $genome_name - $genomic_region_source_type.genomic_region - $genomic_region_source_type.further_information - $genomic_region_source_type.interval_size - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size - $numsamples.numsamples2 - $numsamples.usepair.usepair1 - - $numsamples.usepair.bamfile1 - $numsamples.usepair.reffile1 - $numsamples.usepair.genelist1.usegenelist1 - $numsamples.usepair.genelist1.genelist1 - $numsamples.usepair.title1 - $numsamples.usepair.fraglen1 - $numsamples.usepair.linecol1 - - $numsamples.usepair.bamfile2 - $numsamples.usepair.reffile2 - $numsamples.usepair.genelist2.usegenelist2 - $numsamples.usepair.genelist2.genelist2 - $numsamples.usepair.title2 - $numsamples.usepair.fraglen2 - $numsamples.usepair.linecol2 - - $numsamples.usepair.bamfile3 - $numsamples.usepair.reffile3 - $numsamples.usepair.genelist3.usegenelist3 - $numsamples.usepair.genelist3.genelist3 - $numsamples.usepair.title3 - $numsamples.usepair.fraglen3 - $numsamples.usepair.linecol3 - - $gene_database - $randomly_sample - $GO.gene_order - $GO.KNC - $GO.MIT - $GO.NRS - $chunk_size - $quality_requirement - $standard_error - $radius_size - $flooding_fraction - $smooth_method - $shaded_area - $out_zip $out_avg_png $out_hm_png - -#else if $numsamples.numsamples2 == "4": - runNGSplot.pl - $genome_name - $genomic_region_source_type.genomic_region - $genomic_region_source_type.further_information - $genomic_region_source_type.interval_size - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size - $numsamples.numsamples2 - $numsamples.usepair.usepair1 - - $numsamples.usepair.bamfile1 - $numsamples.usepair.reffile1 - $numsamples.usepair.genelist1.usegenelist1 - $numsamples.usepair.genelist1.genelist1 - $numsamples.usepair.title1 - $numsamples.usepair.fraglen1 - $numsamples.usepair.linecol1 - - $numsamples.usepair.bamfile2 - $numsamples.usepair.reffile2 - $numsamples.usepair.genelist2.usegenelist2 - $numsamples.usepair.genelist2.genelist2 - $numsamples.usepair.title2 - $numsamples.usepair.fraglen2 - $numsamples.usepair.linecol2 - - $numsamples.usepair.bamfile3 - $numsamples.usepair.reffile3 - $numsamples.usepair.genelist3.usegenelist3 - $numsamples.usepair.genelist3.genelist3 - $numsamples.usepair.title3 - $numsamples.usepair.fraglen3 - $numsamples.usepair.linecol3 - - $numsamples.usepair.bamfile4 - $numsamples.usepair.reffile4 - $numsamples.usepair.genelist4.usegenelist4 - $numsamples.usepair.genelist4.genelist4 - $numsamples.usepair.title4 - $numsamples.usepair.fraglen4 - $numsamples.usepair.linecol4 - - $gene_database - $randomly_sample - $GO.gene_order - $GO.KNC - $GO.MIT - $GO.NRS - $chunk_size - $quality_requirement - $standard_error - $radius_size - $flooding_fraction - $smooth_method - $shaded_area - $out_zip $out_avg_png $out_hm_png - -#else if $numsamples.numsamples2 == "5": - runNGSplot.pl - $genome_name - $genomic_region_source_type.genomic_region - $genomic_region_source_type.further_information - $genomic_region_source_type.interval_size - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size - $numsamples.numsamples2 - $numsamples.usepair.usepair1 - - $numsamples.usepair.bamfile1 - $numsamples.usepair.reffile1 - $numsamples.usepair.genelist1.usegenelist1 - $numsamples.usepair.genelist1.genelist1 - $numsamples.usepair.title1 - $numsamples.usepair.fraglen1 - $numsamples.usepair.linecol1 - - $numsamples.usepair.bamfile2 - $numsamples.usepair.reffile2 - $numsamples.usepair.genelist2.usegenelist2 - $numsamples.usepair.genelist2.genelist2 - $numsamples.usepair.title2 - $numsamples.usepair.fraglen2 - $numsamples.usepair.linecol2 - - $numsamples.usepair.bamfile3 - $numsamples.usepair.reffile3 - $numsamples.usepair.genelist3.usegenelist3 - $numsamples.usepair.genelist3.genelist3 - $numsamples.usepair.title3 - $numsamples.usepair.fraglen3 - $numsamples.usepair.linecol3 - - $numsamples.usepair.bamfile4 - $numsamples.usepair.reffile4 - $numsamples.usepair.genelist4.usegenelist4 - $numsamples.usepair.genelist4.genelist4 - $numsamples.usepair.title4 - $numsamples.usepair.fraglen4 - $numsamples.usepair.linecol4 - - $numsamples.usepair.bamfile5 - $numsamples.usepair.reffile5 - $numsamples.usepair.genelist5.usegenelist5 - $numsamples.usepair.genelist5.genelist5 - $numsamples.usepair.title5 - $numsamples.usepair.fraglen5 - $numsamples.usepair.linecol5 - - $gene_database - $randomly_sample - $GO.gene_order - $GO.KNC - $GO.MIT - $GO.NRS - $chunk_size - $quality_requirement - $standard_error - $radius_size - $flooding_fraction - $smooth_method - $shaded_area - $out_zip $out_avg_png $out_hm_png - -#else if $numsamples.numsamples2 == "6": - runNGSplot.pl - $genome_name - $genomic_region_source_type.genomic_region - $genomic_region_source_type.further_information - $genomic_region_source_type.interval_size - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size - $numsamples.numsamples2 - $numsamples.usepair.usepair1 - - $numsamples.usepair.bamfile1 - $numsamples.usepair.reffile1 - $numsamples.usepair.genelist1.usegenelist1 - $numsamples.usepair.genelist1.genelist1 - $numsamples.usepair.title1 - $numsamples.usepair.fraglen1 - $numsamples.usepair.linecol1 - - $numsamples.usepair.bamfile2 - $numsamples.usepair.reffile2 - $numsamples.usepair.genelist2.usegenelist2 - $numsamples.usepair.genelist2.genelist2 - $numsamples.usepair.title2 - $numsamples.usepair.fraglen2 - $numsamples.usepair.linecol2 - - $numsamples.usepair.bamfile3 - $numsamples.usepair.reffile3 - $numsamples.usepair.genelist3.usegenelist3 - $numsamples.usepair.genelist3.genelist3 - $numsamples.usepair.title3 - $numsamples.usepair.fraglen3 - $numsamples.usepair.linecol3 - - $numsamples.usepair.bamfile4 - $numsamples.usepair.reffile4 - $numsamples.usepair.genelist4.usegenelist4 - $numsamples.usepair.genelist4.genelist4 - $numsamples.usepair.title4 - $numsamples.usepair.fraglen4 - $numsamples.usepair.linecol4 - - $numsamples.usepair.bamfile5 - $numsamples.usepair.reffile5 - $numsamples.usepair.genelist5.usegenelist5 - $numsamples.usepair.genelist5.genelist5 - $numsamples.usepair.title5 - $numsamples.usepair.fraglen5 - $numsamples.usepair.linecol5 - - $numsamples.usepair.bamfile6 - $numsamples.usepair.reffile6 - $numsamples.usepair.genelist6.usegenelist6 - $numsamples.usepair.genelist6.genelist6 - $numsamples.usepair.title6 - $numsamples.usepair.fraglen6 - $numsamples.usepair.linecol6 - - $gene_database - $randomly_sample - $GO.gene_order - $GO.KNC - $GO.MIT - $GO.NRS - $chunk_size - $quality_requirement - $standard_error - $radius_size - $flooding_fraction - $smooth_method - $shaded_area - $out_zip $out_avg_png $out_hm_png - -#else if $numsamples.numsamples2 == "7": - runNGSplot.pl - $genome_name - $genomic_region_source_type.genomic_region - $genomic_region_source_type.further_information - $genomic_region_source_type.interval_size - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size - $numsamples.numsamples2 - $numsamples.usepair.usepair1 - - $numsamples.usepair.bamfile1 - $numsamples.usepair.reffile1 - $numsamples.usepair.genelist1.usegenelist1 - $numsamples.usepair.genelist1.genelist1 - $numsamples.usepair.title1 - $numsamples.usepair.fraglen1 - $numsamples.usepair.linecol1 - - $numsamples.usepair.bamfile2 - $numsamples.usepair.reffile2 - $numsamples.usepair.genelist2.usegenelist2 - $numsamples.usepair.genelist2.genelist2 - $numsamples.usepair.title2 - $numsamples.usepair.fraglen2 - $numsamples.usepair.linecol2 - - $numsamples.usepair.bamfile3 - $numsamples.usepair.reffile3 - $numsamples.usepair.genelist3.usegenelist3 - $numsamples.usepair.genelist3.genelist3 - $numsamples.usepair.title3 - $numsamples.usepair.fraglen3 - $numsamples.usepair.linecol3 - - $numsamples.usepair.bamfile4 - $numsamples.usepair.reffile4 - $numsamples.usepair.genelist4.usegenelist4 - $numsamples.usepair.genelist4.genelist4 - $numsamples.usepair.title4 - $numsamples.usepair.fraglen4 - $numsamples.usepair.linecol4 - - $numsamples.usepair.bamfile5 - $numsamples.usepair.reffile5 - $numsamples.usepair.genelist5.usegenelist5 - $numsamples.usepair.genelist5.genelist5 - $numsamples.usepair.title5 - $numsamples.usepair.fraglen5 - $numsamples.usepair.linecol5 - - $numsamples.usepair.bamfile6 - $numsamples.usepair.reffile6 - $numsamples.usepair.genelist6.usegenelist6 - $numsamples.usepair.genelist6.genelist6 - $numsamples.usepair.title6 - $numsamples.usepair.fraglen6 - $numsamples.usepair.linecol6 - - $numsamples.usepair.bamfile7 - $numsamples.usepair.reffile7 - $numsamples.usepair.genelist7.usegenelist7 - $numsamples.usepair.genelist7.genelist7 - $numsamples.usepair.title7 - $numsamples.usepair.fraglen7 - $numsamples.usepair.linecol7 - - $gene_database - $randomly_sample - $GO.gene_order - $GO.KNC - $GO.MIT - $GO.NRS - $chunk_size - $quality_requirement - $standard_error - $radius_size - $flooding_fraction - $smooth_method - $shaded_area - $out_zip $out_avg_png $out_hm_png - -#else if $numsamples.numsamples2 == "8": - runNGSplot.pl - $genome_name - $genomic_region_source_type.genomic_region - $genomic_region_source_type.further_information - $genomic_region_source_type.interval_size - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size - $numsamples.numsamples2 - $numsamples.usepair.usepair1 - - $numsamples.usepair.bamfile1 - $numsamples.usepair.reffile1 - $numsamples.usepair.genelist1.usegenelist1 - $numsamples.usepair.genelist1.genelist1 - $numsamples.usepair.title1 - $numsamples.usepair.fraglen1 - $numsamples.usepair.linecol1 - - $numsamples.usepair.bamfile2 - $numsamples.usepair.reffile2 - $numsamples.usepair.genelist2.usegenelist2 - $numsamples.usepair.genelist2.genelist2 - $numsamples.usepair.title2 - $numsamples.usepair.fraglen2 - $numsamples.usepair.linecol2 - - $numsamples.usepair.bamfile3 - $numsamples.usepair.reffile3 - $numsamples.usepair.genelist3.usegenelist3 - $numsamples.usepair.genelist3.genelist3 - $numsamples.usepair.title3 - $numsamples.usepair.fraglen3 - $numsamples.usepair.linecol3 - - $numsamples.usepair.bamfile4 - $numsamples.usepair.reffile4 - $numsamples.usepair.genelist4.usegenelist4 - $numsamples.usepair.genelist4.genelist4 - $numsamples.usepair.title4 - $numsamples.usepair.fraglen4 - $numsamples.usepair.linecol4 - - $numsamples.usepair.bamfile5 - $numsamples.usepair.reffile5 - $numsamples.usepair.genelist5.usegenelist5 - $numsamples.usepair.genelist5.genelist5 - $numsamples.usepair.title5 - $numsamples.usepair.fraglen5 - $numsamples.usepair.linecol5 - - $numsamples.usepair.bamfile6 - $numsamples.usepair.reffile6 - $numsamples.usepair.genelist6.usegenelist6 - $numsamples.usepair.genelist6.genelist6 - $numsamples.usepair.title6 - $numsamples.usepair.fraglen6 - $numsamples.usepair.linecol6 - - $numsamples.usepair.bamfile7 - $numsamples.usepair.reffile7 - $numsamples.usepair.genelist7.usegenelist7 - $numsamples.usepair.genelist7.genelist7 - $numsamples.usepair.title7 - $numsamples.usepair.fraglen7 - $numsamples.usepair.linecol7 - - $numsamples.usepair.bamfile8 - $numsamples.usepair.reffile8 - $numsamples.usepair.genelist8.usegenelist8 - $numsamples.usepair.genelist8.genelist8 - $numsamples.usepair.title8 - $numsamples.usepair.fraglen8 - $numsamples.usepair.linecol8 - - $gene_database - $randomly_sample - $GO.gene_order - $GO.KNC - $GO.MIT - $GO.NRS - $chunk_size - $quality_requirement - $standard_error - $radius_size - $flooding_fraction - $smooth_method - $shaded_area - $out_zip $out_avg_png $out_hm_png - -#else if $numsamples.numsamples2 == "9": - runNGSplot.pl - $genome_name - $genomic_region_source_type.genomic_region - $genomic_region_source_type.further_information - $genomic_region_source_type.interval_size - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size - $numsamples.numsamples2 - $numsamples.usepair.usepair1 - - $numsamples.usepair.bamfile1 - $numsamples.usepair.reffile1 - $numsamples.usepair.genelist1.usegenelist1 - $numsamples.usepair.genelist1.genelist1 - $numsamples.usepair.title1 - $numsamples.usepair.fraglen1 - $numsamples.usepair.linecol1 - - $numsamples.usepair.bamfile2 - $numsamples.usepair.reffile2 - $numsamples.usepair.genelist2.usegenelist2 - $numsamples.usepair.genelist2.genelist2 - $numsamples.usepair.title2 - $numsamples.usepair.fraglen2 - $numsamples.usepair.linecol2 - - $numsamples.usepair.bamfile3 - $numsamples.usepair.reffile3 - $numsamples.usepair.genelist3.usegenelist3 - $numsamples.usepair.genelist3.genelist3 - $numsamples.usepair.title3 - $numsamples.usepair.fraglen3 - $numsamples.usepair.linecol3 - - $numsamples.usepair.bamfile4 - $numsamples.usepair.reffile4 - $numsamples.usepair.genelist4.usegenelist4 - $numsamples.usepair.genelist4.genelist4 - $numsamples.usepair.title4 - $numsamples.usepair.fraglen4 - $numsamples.usepair.linecol4 - - $numsamples.usepair.bamfile5 - $numsamples.usepair.reffile5 - $numsamples.usepair.genelist5.usegenelist5 - $numsamples.usepair.genelist5.genelist5 - $numsamples.usepair.title5 - $numsamples.usepair.fraglen5 - $numsamples.usepair.linecol5 - - $numsamples.usepair.bamfile6 - $numsamples.usepair.reffile6 - $numsamples.usepair.genelist6.usegenelist6 - $numsamples.usepair.genelist6.genelist6 - $numsamples.usepair.title6 - $numsamples.usepair.fraglen6 - $numsamples.usepair.linecol6 - - $numsamples.usepair.bamfile7 - $numsamples.usepair.reffile7 - $numsamples.usepair.genelist7.usegenelist7 - $numsamples.usepair.genelist7.genelist7 - $numsamples.usepair.title7 - $numsamples.usepair.fraglen7 - $numsamples.usepair.linecol7 - - $numsamples.usepair.bamfile8 - $numsamples.usepair.reffile8 - $numsamples.usepair.genelist8.usegenelist8 - $numsamples.usepair.genelist8.genelist8 - $numsamples.usepair.title8 - $numsamples.usepair.fraglen8 - $numsamples.usepair.linecol8 - - $numsamples.usepair.bamfile9 - $numsamples.usepair.reffile9 - $numsamples.usepair.genelist9.usegenelist9 - $numsamples.usepair.genelist9.genelist9 - $numsamples.usepair.title9 - $numsamples.usepair.fraglen9 - $numsamples.usepair.linecol9 - - $gene_database - $randomly_sample - $GO.gene_order - $GO.KNC - $GO.MIT - $GO.NRS - $chunk_size - $quality_requirement - $standard_error - $radius_size - $flooding_fraction - $smooth_method - $shaded_area - $out_zip $out_avg_png $out_hm_png - -#else if $numsamples.numsamples2 == "10": - runNGSplot.pl - $genome_name - $genomic_region_source_type.genomic_region - $genomic_region_source_type.further_information - $genomic_region_source_type.interval_size - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_option - $genomic_region_source_type.flanking_region_option_source_type.flanking_region_size - $numsamples.numsamples2 - $numsamples.usepair.usepair1 - - $numsamples.usepair.bamfile1 - $numsamples.usepair.reffile1 - $numsamples.usepair.genelist1.usegenelist1 - $numsamples.usepair.genelist1.genelist1 - $numsamples.usepair.title1 - $numsamples.usepair.fraglen1 - $numsamples.usepair.linecol1 - - $numsamples.usepair.bamfile2 - $numsamples.usepair.reffile2 - $numsamples.usepair.genelist2.usegenelist2 - $numsamples.usepair.genelist2.genelist2 - $numsamples.usepair.title2 - $numsamples.usepair.fraglen2 - $numsamples.usepair.linecol2 - - $numsamples.usepair.bamfile3 - $numsamples.usepair.reffile3 - $numsamples.usepair.genelist3.usegenelist3 - $numsamples.usepair.genelist3.genelist3 - $numsamples.usepair.title3 - $numsamples.usepair.fraglen3 - $numsamples.usepair.linecol3 - - $numsamples.usepair.bamfile4 - $numsamples.usepair.reffile4 - $numsamples.usepair.genelist4.usegenelist4 - $numsamples.usepair.genelist4.genelist4 - $numsamples.usepair.title4 - $numsamples.usepair.fraglen4 - $numsamples.usepair.linecol4 - - $numsamples.usepair.bamfile5 - $numsamples.usepair.reffile5 - $numsamples.usepair.genelist5.usegenelist5 - $numsamples.usepair.genelist5.genelist5 - $numsamples.usepair.title5 - $numsamples.usepair.fraglen5 - $numsamples.usepair.linecol5 - - $numsamples.usepair.bamfile6 - $numsamples.usepair.reffile6 - $numsamples.usepair.genelist6.usegenelist6 - $numsamples.usepair.genelist6.genelist6 - $numsamples.usepair.title6 - $numsamples.usepair.fraglen6 - $numsamples.usepair.linecol6 - - $numsamples.usepair.bamfile7 - $numsamples.usepair.reffile7 - $numsamples.usepair.genelist7.usegenelist7 - $numsamples.usepair.genelist7.genelist7 - $numsamples.usepair.title7 - $numsamples.usepair.fraglen7 - $numsamples.usepair.linecol7 - - $numsamples.usepair.bamfile8 - $numsamples.usepair.reffile8 - $numsamples.usepair.genelist8.usegenelist8 - $numsamples.usepair.genelist8.genelist8 - $numsamples.usepair.title8 - $numsamples.usepair.fraglen8 - $numsamples.usepair.linecol8 - - $numsamples.usepair.bamfile9 - $numsamples.usepair.reffile9 - $numsamples.usepair.genelist9.usegenelist9 - $numsamples.usepair.genelist9.genelist9 - $numsamples.usepair.title9 - $numsamples.usepair.fraglen9 - $numsamples.usepair.linecol9 - - $numsamples.usepair.bamfile10 - $numsamples.usepair.reffile10 - $numsamples.usepair.genelist10.usegenelist10 - $numsamples.usepair.genelist10.genelist10 - $numsamples.usepair.title10 - $numsamples.usepair.fraglen10 - $numsamples.usepair.linecol10 - - $gene_database - $randomly_sample - $GO.gene_order - $GO.KNC - $GO.MIT - $GO.NRS - $chunk_size - $quality_requirement - $standard_error - $radius_size - $flooding_fraction - $smooth_method - $shaded_area - $out_zip $out_avg_png $out_hm_png - -#end if: - - - - -<--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r 896dfca167fb -r f7debdafc7cb ngsplot_galaxytoolshed_v1.0/ngsplot_main/runNGSplot.pl --- a/ngsplot_galaxytoolshed_v1.0/ngsplot_main/runNGSplot.pl Thu Mar 19 17:39:23 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,126 +0,0 @@ -#!/usr/bin/perl -w -use strict; -use File::Basename 'dirname'; -use File::Spec; -use Cwd 'abs_path'; - -my @inputs = @ARGV; -my @inputs2 = @inputs; - -my $genome_name = shift(@inputs); -my $genomic_region_source_type__genomic_region = shift(@inputs); -my $genomic_region_source_type__further_information = shift(@inputs); -my $genomic_region_source_type__interval_size = shift(@inputs); -my $genomic_region_source_type__flanking_region_option_source_type__flanking_region_option = shift(@inputs); -my $genomic_region_source_type__flanking_region_option_source_type__flanking_region_size = shift(@inputs); -my $numsamples = shift(@inputs); -my $usepairs = shift(@inputs); - -#print STDERR "inputs @inputs\n"; - -my $randfile = rand(100)."\.config\.txt"; -my $randfile2 = $randfile; -$randfile2 =~ s/config\.txt/logfile/gm; - -my $outfile = File::Spec->catfile(abs_path(dirname(__FILE__)),"$randfile"); -open(FILE,">$outfile"); - -for (my $i=1;$i<=$numsamples;$i++) { - my $bamfile=shift(@inputs); - my $reffile=shift(@inputs); - my $usegenelist=shift(@inputs); - my $genelist=shift(@inputs); - my $title=shift(@inputs); - my $fraglen=shift(@inputs); - my $color=shift(@inputs); - if ($usepairs eq 'yes') { - syswrite(FILE, "$bamfile\:$reffile\t$genelist\t$title\t$fraglen\t$color\n"); - }else { - syswrite(FILE, "$bamfile\t$genelist\t$title\t$fraglen\t$color\n"); - } -} -close(FILE); - -my $gene_database = shift(@inputs); -my $randomly_sample = shift(@inputs); -my $gene_order = shift(@inputs); -my $knc = shift(@inputs); -my $mit = shift(@inputs); -my $nrs = shift(@inputs); -my $chunk_size = shift(@inputs); -my $quality_requirement = shift(@inputs); -my $standard_error = shift(@inputs); -my $radius_size = shift(@inputs); -my $flooding_fraction = shift(@inputs); -my $smooth_method = shift(@inputs); -my $shaded_area = shift(@inputs); -my $out_name = shift(@inputs); -my $out_avg_name = shift(@inputs); -my $out_hm_name = shift(@inputs); - - -my $G = $genome_name; -my $R = $genomic_region_source_type__genomic_region; -my $C = $outfile; -my $O = $out_name; -my $O2 = $out_avg_name; -my $O3 = $out_hm_name; -my $F = $genomic_region_source_type__further_information; -my $D = $gene_database; -my $L = $genomic_region_source_type__flanking_region_option_source_type__flanking_region_size; -my $N = $genomic_region_source_type__flanking_region_option_source_type__flanking_region_size; -my $RB = $radius_size; -my $S = $randomly_sample; -my $CS = $chunk_size; -my $MQ = $quality_requirement; -my $IN = $genomic_region_source_type__interval_size; -my $SE = $standard_error; -my $MW = $smooth_method; -my $H = $shaded_area; -my $GO = $gene_order; -my $KNC = $knc; -my $MIT = $mit; -my $NRS = $nrs; -my $FC = $flooding_fraction; - -if ($GO eq 'km') { - $GO = "$GO -KNC $KNC -MIT $MIT -NRS $NRS"; -} - -my $logfile = File::Spec->catfile(abs_path(dirname(__FILE__)),"$randfile2"); -open(FILE2,">>$logfile"); -my $cmd5="pwd >> $logfile 2>&1"; -system($cmd5); - -my $cmd=''; -if (($R eq 'tss')||($R eq 'tes')) { - $cmd = "ngs.plot.r -Galaxy 1 -P 0 -G $G -R $R -C $C -O $O -O2 $O2 -O3 $O3 -D $D -L $L -S $S -GO $GO -CS $CS -MQ $MQ -SE $SE -RB $RB -FC $FC -MW $MW -H $H >> $logfile 2>&1"; -}elsif ($genomic_region_source_type__flanking_region_option_source_type__flanking_region_option eq 'flanking_region_size') { - if ($IN eq 'automatic') { - $cmd = "ngs.plot.r -Galaxy 1 -P 0 -G $G -R $R -C $C -O $O -O2 $O2 -O3 $O3 -D $D -L $L -S $S -GO $GO -CS $CS -MQ $MQ -SE $SE -RB $RB -FC $FC -MW $MW -H $H >> $logfile 2>&1"; - }else { - $cmd = "ngs.plot.r -Galaxy 1 -P 0 -G $G -R $R -C $C -O $O -O2 $O2 -O3 $O3 -D $D -L $L -S $S -GO $GO -CS $CS -MQ $MQ -SE $SE -RB $RB -FC $FC -MW $MW -H $H -IN $IN >> $logfile 2>&1"; - } -}elsif ($genomic_region_source_type__flanking_region_option_source_type__flanking_region_option eq 'flanking_floating_size') { - if ($IN eq 'automatic') { - $cmd = "ngs.plot.r -Galaxy 1 -P 0 -G $G -R $R -C $C -O $O -O2 $O2 -O3 $O3 -D $D -N $N -S $S -GO $GO -CS $CS -MQ $MQ -SE $SE -RB $RB -FC $FC -MW $MW -H $H >> $logfile 2>&1"; - }else { - $cmd = "ngs.plot.r -Galaxy 1 -P 0 -G $G -R $R -C $C -O $O -O2 $O2 -O3 $O3 -D $D -N $N -S $S -GO $GO -CS $CS -MQ $MQ -SE $SE -RB $RB -FC $FC -MW $MW -H $H -IN $IN >> $logfile 2>&1"; - } -} -my $cmd2="cp data.zip $O"; -my $cmd3="rm $outfile"; -my $cmd4="rm $logfile"; -syswrite(FILE2, "\n$cmd\n"); -syswrite(FILE2, "\n$cmd2\n"); -syswrite(FILE2, "\n$cmd3\n"); -syswrite(FILE2, "\n$cmd4\n\n"); - -system($cmd); -system($cmd2); -system($cmd3); -system($cmd4); - -close(FILE2); - - diff -r 896dfca167fb -r f7debdafc7cb ngsplot_galaxytoolshed_v1.0/ngsplot_replot/replot.xml --- a/ngsplot_galaxytoolshed_v1.0/ngsplot_replot/replot.xml Thu Mar 19 17:39:23 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,157 +0,0 @@ - - -#if $outtype.outtype2 == "prof": - runreplot.pl $input_zipfile $outtype.outtype2 $output_filename - $outtype.WD - $outtype.HG - $outtype.SE - $outtype.H - $outtype.MW - $outtype.Y.Y2 - $outtype.Y.Y3 - $outtype.LEG - $outtype.BOX - $outtype.VLN - $outtype.XYL - $outtype.LWD - $outtype.FS -#else if $outtype.outtype2 == "heatmap": - runreplot.pl $input_zipfile $outtype.outtype2 $output_filename - $outtype.GO.GO2 - $outtype.GO.KNC - $outtype.GO.MIT - $outtype.GO.NRS - $outtype.LOW - $outtype.RR - $outtype.FC - $outtype.CO - $outtype.CD - $outtype.FS - dummy - dummy - dummy -#end if: - - - - - - -<--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r 896dfca167fb -r f7debdafc7cb ngsplot_galaxytoolshed_v1.0/ngsplot_replot/runreplot.pl --- a/ngsplot_galaxytoolshed_v1.0/ngsplot_replot/runreplot.pl Thu Mar 19 17:39:23 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -#!/usr/bin/perl -w -use strict; -use File::Basename 'dirname'; -use File::Spec; -use Cwd 'abs_path'; - -my $input_file = $ARGV[0]; -my $output_type = $ARGV[1]; -my $output_filename = $ARGV[2]; - -my $cmd1 = "cp $input_file data.zip"; -my $cmd2 = ""; -my $cmd3 = "mv output.pdf $output_filename"; - -my $FS = ""; -if ($output_type eq 'prof') { - my $WD = "-WD $ARGV[3]"; - my $HG = "-HG $ARGV[4]"; - my $SE = "-SE $ARGV[5]"; - my $H = "-H $ARGV[6]"; - my $MW = "-MW $ARGV[7]"; - my $Y = "-Y $ARGV[8]"; - my $YAS = "-YAS $ARGV[9]"; - my $LEG = "-LEG $ARGV[10]"; - my $BOX = "-BOX $ARGV[11]"; - my $VLN = "-VLN $ARGV[12]"; - my $XYL = "-XYL $ARGV[13]"; - my $LWD = "-LWD $ARGV[14]"; - $FS = "-FS $ARGV[15]"; - - if ($Y =~ /no$/gm) { - $cmd2 = "replot.r $output_type -I data.zip -O output $WD $HG $SE $H $MW $LEG $BOX $VLN $XYL $LWD $FS"; - }else { - $cmd2 = "replot.r $output_type -I data.zip -O output $WD $HG $SE $H $MW $LEG $BOX $VLN $XYL $LWD $FS $YAS"; - } -}elsif ($output_type eq 'heatmap') { - my $GO = "-GO $ARGV[3]"; - my $KNC = "-KNC $ARGV[4]"; - my $MIT = "-MIT $ARGV[5]"; - my $NRS = "-NRS $ARGV[6]"; - my $LOW = "-LOW $ARGV[7]"; - my $RR = "-RR $ARGV[8]"; - my $FC = "-FC $ARGV[9]"; - my $CO = "-CO $ARGV[10]"; - my $CD = "-CD $ARGV[11]"; - $FS = "-FS $ARGV[12]"; - my $DUM1 = $ARGV[13]; - my $DUM2 = $ARGV[14]; - my $DUM3 = $ARGV[15]; - - if ($CO =~ /default/gm) { $CO = ""; } - - if ($GO =~ /km$/gm) { - $cmd2 = "replot.r $output_type -I data.zip -O output $LOW $RR $FC $CO $CD $FS $GO $KNC $MIT $NRS"; - }else { - $cmd2 = "replot.r $output_type -I data.zip -O output $LOW $RR $FC $CO $CD $FS $GO"; - } -} -system($cmd1); -system($cmd2); -system($cmd3); - -