Mercurial > repos > iuc > transit_resampling
comparison transit_resampling.xml @ 7:8ab1c8c909a7 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
| author | iuc |
|---|---|
| date | Tue, 08 Oct 2019 08:21:39 -0400 |
| parents | 3fcb70c1ca78 |
| children | 32a5211380bc |
comparison
equal
deleted
inserted
replaced
| 6:910f3ee28aaa | 7:8ab1c8c909a7 |
|---|---|
| 11 #for idx, filename in enumerate(str($controls).split(',')): | 11 #for idx, filename in enumerate(str($controls).split(',')): |
| 12 ln -s '$filename' control_file_${idx}.wig && | 12 ln -s '$filename' control_file_${idx}.wig && |
| 13 #end for | 13 #end for |
| 14 transit resampling $input_files $control_files annotation.dat transit_out.txt | 14 transit resampling $input_files $control_files annotation.dat transit_out.txt |
| 15 @STANDARD_OPTIONS@ | 15 @STANDARD_OPTIONS@ |
| 16 -s $samples -n $normalization $histogram $adaptive $exclude_zero $pseudo $loess | 16 -s $samples $histogram $adaptive $exclude_zero $pseudo $loess |
| 17 ]]> | 17 ]]> |
| 18 </command> | 18 </command> |
| 19 <inputs> | 19 <inputs> |
| 20 <expand macro="standard_inputs"> | 20 <expand macro="standard_inputs"> |
| 21 <param name="controls" type="data" format="wig" multiple="true" label="Control .wig files" /> | 21 <param name="controls" type="data" format="wig" multiple="true" label="Control .wig files" /> |
| 22 <param name="samples" argument="-s" type="integer" value="10000" label="Number of samples" /> | 22 <param name="samples" argument="-s" type="integer" value="10000" label="Number of samples" /> |
| 23 <param name="normalization" argument="-n" type="select" label="Normalization method"> | |
| 24 <option value="TTR">TTR</option> | |
| 25 </param> | |
| 26 <param name="histogram" argument="-h" type="boolean" truevalue="-h" falsevalue="" label="Output histogram of the permutations" /> | 23 <param name="histogram" argument="-h" type="boolean" truevalue="-h" falsevalue="" label="Output histogram of the permutations" /> |
| 27 <param name="adaptive" argument="-a" type="boolean" truevalue="-a" falsevalue="" label="Perform adaptive resampling" /> | 24 <param name="adaptive" argument="-a" type="boolean" truevalue="-a" falsevalue="" label="Perform adaptive resampling" /> |
| 28 <param name="exclude_zero" argument="-ez" type="boolean" truevalue="-ez" falsevalue="" label="Exclude rows with zero accross conditions" /> | 25 <param name="exclude_zero" argument="-ez" type="boolean" truevalue="-ez" falsevalue="" label="Exclude rows with zero accross conditions" /> |
| 29 <param name="pseudo" argument="-pc" type="boolean" truevalue="-pc" falsevalue="" label="Add pseudocounts at each site" /> | 26 <param name="pseudo" argument="-pc" type="boolean" truevalue="-pc" falsevalue="" label="Add pseudocounts at each site" /> |
| 30 <param name="loess" argument="-l" type="boolean" truevalue="-l" falsevalue="" label="Perform LOESS Correction" help="Helps remove possible genomic position bias." /> | 27 <param name="loess" argument="-l" type="boolean" truevalue="-l" falsevalue="" label="Perform LOESS Correction" help="Helps remove possible genomic position bias." /> |
| 36 </outputs> | 33 </outputs> |
| 37 <tests> | 34 <tests> |
| 38 <test> | 35 <test> |
| 39 <param name="inputs" ftype="wig" value="transit-in1-rep1.wig,transit-in1-rep2.wig" /> | 36 <param name="inputs" ftype="wig" value="transit-in1-rep1.wig,transit-in1-rep2.wig" /> |
| 40 <param name="controls" ftype="wig" value="transit-co1-rep1.wig,transit-co1-rep2.wig,transit-co1-rep3.wig" /> | 37 <param name="controls" ftype="wig" value="transit-co1-rep1.wig,transit-co1-rep2.wig,transit-co1-rep3.wig" /> |
| 41 <param name="annotation" ftype="gff3" value="transit-in1.gff3" /> | 38 <param name="annotation" ftype="tabular" value="transit-in1.prot" /> |
| 42 <param name="samples" value="1000" /> | 39 <param name="samples" value="1000" /> |
| 43 <param name="burnin" value="100" /> | 40 <param name="burnin" value="100" /> |
| 44 <param name="replicates" value="Replicates" /> | 41 <param name="replicates" value="Replicates" /> |
| 45 <output name="sites" file="resampling-sites1.txt" ftype="tabular" compare="sim_size" /> | 42 <output name="sites" file="resampling-sites1.txt" ftype="tabular" compare="sim_size" /> |
| 46 </test> | 43 </test> |
| 100 - Samples: The number of samples (permutations) to perform. The larger the number of samples, the more resolution the p-values calculated will have, at the expense of longer computation time. The re-sampling method runs on 10,000 samples by default. | 97 - Samples: The number of samples (permutations) to perform. The larger the number of samples, the more resolution the p-values calculated will have, at the expense of longer computation time. The re-sampling method runs on 10,000 samples by default. |
| 101 - Output Histograms:Determines whether to output .png images of the histograms obtained from resampling the difference in read-counts. | 98 - Output Histograms:Determines whether to output .png images of the histograms obtained from resampling the difference in read-counts. |
| 102 - Adaptive Resampling: An optional “adaptive” version of resampling which accelerates the calculation by terminating early for genes which are likely not significant. This dramatically speeds up the computation at the cost of less accurate estimates for those genes that terminate early (i.e. deemed not significant). This option is OFF by default. | 99 - Adaptive Resampling: An optional “adaptive” version of resampling which accelerates the calculation by terminating early for genes which are likely not significant. This dramatically speeds up the computation at the cost of less accurate estimates for those genes that terminate early (i.e. deemed not significant). This option is OFF by default. |
| 103 - Include Zeros: Select to include sites that are zero. This is the preferred behavior, however, unselecting this (thus ignoring sites that) are zero accross all dataset (i.e. completely empty), is useful for decreasing running time (specially for large datasets like Tn5). | 100 - Include Zeros: Select to include sites that are zero. This is the preferred behavior, however, unselecting this (thus ignoring sites that) are zero accross all dataset (i.e. completely empty), is useful for decreasing running time (specially for large datasets like Tn5). |
| 104 - Normalization Method: Determines which normalization method to use when comparing datasets. Proper normalization is important as it ensures that other sources of variability are not mistakenly treated as real differences. See the Normalization section for a description of normalization method available in TRANSIT. | 101 - Normalization Method: Determines which normalization method to use when comparing datasets. Proper normalization is important as it ensures that other sources of variability are not mistakenly treated as real differences. See the Normalization section for a description of normalization method available in TRANSIT. |
| 102 - TTR (Default) : Trimmed Total Reads (TTR), normalized by the total read-counts (like totreads), but trims top and bottom 5% of read-counts. This is the recommended normalization method for most cases as it has the beneffit of normalizing for difference in saturation in the context of resampling. | |
| 103 - nzmean : Normalizes datasets to have the same mean over the non-zero sites. | |
| 104 - totreads : Normalizes datasets by total read-counts, and scales them to have the same mean over all counts. | |
| 105 - zinfnb : Fits a zero-inflated negative binomial model, and then divides read-counts by the mean. The zero-inflated negative binomial model will treat some empty sites as belonging to the “true” negative binomial distribution responsible for read-counts while treating the others as “essential” (and thus not influencing its parameters). | |
| 106 - quantile : Normalizes datasets using the quantile normalization method described by Bolstad et al. (2003). In this normalization procedure, datasets are sorted, an empirical distribution is estimated as the mean across the sorted datasets at each site, and then the original (unsorted) datasets are assigned values from the empirical distribution based on their quantiles. | |
| 107 - betageom : Normalizes the datasets to fit an “ideal” Geometric distribution with a variable probability parameter p. Specially useful for datasets that contain a large skew. See Beta-Geometric Correction . | |
| 108 - nonorm : No normalization is performed. | |
| 105 | 109 |
| 106 | 110 |
| 107 ------------------- | 111 ------------------- |
| 108 | 112 |
| 109 **Outputs** | 113 **Outputs** |
