# HG changeset patch # User bzonnedda # Date 1487591141 18000 # Node ID 13d57b28ee27d9db5809098e972fee3a7bf8ef86 # Parent 9dd5a52b4e53c1d3f656766a7c39a4b4305bf5e3 Uploaded diff -r 9dd5a52b4e53 -r 13d57b28ee27 c_rpkm.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/c_rpkm.xml Mon Feb 20 06:45:41 2017 -0500 @@ -0,0 +1,82 @@ + + + + mkdir rpkm_dir; +#for $input_bam in $inputs: + #if str($input_bam.label.value) != "": + ln -s ${input_bam.inputFile} ${$input_bam.label.value}.bam; + ln -s ${input_bam.inputFile.metadata.bam_index} ${$input_bam.label.value}.bam.bai; + python conifer.py rpkm + --probes $probesFile + --input ${$input_bam.label.value}.bam + --output rpkm_dir/${$input_bam.label.value}.txt; + #else + ln -s ${input_bam.inputFile} ${input_bam.inputFile.dataset.name}.bam; + ln -s ${input_bam.inputFile.metadata.bam_index} ${input_bam.inputFile.dataset.name}.bam.bai; + python conifer.py rpkm + --probes $probesFile + --input ${input_bam.inputFile.dataset.name}.bam + --output rpkm_dir/${input_bam.inputFile.dataset.name}.txt; + #end if +#end for + python ./conifer.py analyze + --probes $probesFile + --rpkm_dir rpkm_dir + --output $outputFile + --svd $svd + 2>&1; + + + + + + + ^\S*$ + + + + + + + + + +.. class:: warningmark + +**Warning about SVD** + +The SVD value must be less than the number of samples. + +E.g.: if the number of samples is 3, the value of SVD must be 2 or less. + +**What it does** + +This tool calculates RPKM for each BAM file and analyzes them, afterward it creates a unique HDF5 file containing all SVD-ZRPKM values, +probes and samples for downstream analysis with 'CoNIFER CNV caller' and 'CoNIFER plot'. + +**License and citation** + +This Galaxy tool is Copyright © 2015 `CRS4 Srl.`_ and is released under the `MIT license`_. + +.. _CRS4 Srl.: http://www.crs4.it/ +.. _MIT license: http://opensource.org/licenses/MIT + +You can use this tool only if you agree to the license terms of: `CoNIFER`_. + +.. _CoNIFER: http://conifer.sourceforge.net/ + +If you use this tool, please cite: + +- |Cuccuru2014|_ +- |Krumm2012|_. + +.. |Cuccuru2014| replace:: Cuccuru, G., Orsini, M., Pinna, A., Sbardellati, A., Soranzo, N., Travaglione, A., Uva, P., Zanetti, G., Fotia, G. (2014) Orione, a web-based framework for NGS analysis in microbiology. *Bioinformatics* 30(13), 1928-1929 +.. _Cuccuru2014: http://bioinformatics.oxfordjournals.org/content/30/13/1928 +.. |Krumm2012| replace:: Krumm, N., Sudmant, P. H., Ko, A., O'Roak, B. J., Malig, M., Coe, B. P., NHLBI Exome Sequencing Project, Quinlan, A. R., Nickerson, D. A., Eichler, E. E. (2012) Copy number variation detection and genotyping from exome sequence data. *Genome Res.* 22(8), 1525-1532 +.. _Krumm2012: http://genome.cshlp.org/content/22/8/1525 + + + 10.1093/bioinformatics/btu135 + 10.1101/gr.138115.112 + +