Previous changeset 0:3771cb0a9e12 (2016-10-08) Next changeset 2:25fc826821d7 (2016-10-08) |
Commit message:
Uploaded |
added:
alfa/alfa/alfa_wrapper.xml |
b |
diff -r 3771cb0a9e12 -r 3909de8ec644 alfa/alfa/alfa_wrapper.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/alfa/alfa/alfa_wrapper.xml Sat Oct 08 16:38:45 2016 -0400 |
b |
b'@@ -0,0 +1,333 @@\n+<tool id="alfa" name="ALFA" version="1.0">\n+\t<description>- Compute and display distribution of reads by genomic categories</description>\n+\n+\t<!-- ALFA requires bedtools suite v2.20.0 and above -->\n+\t<requirements>\n+ \t<requirement type="package">bedtools</requirement>\n+ \t<!--<requirement type="package">samtools</requirement>-->\n+ \t</requirements>\n+\n+ \t<!--\n+\t<stdio>\n+\t\t<regex match="source_gtf_file" source="stderr" level="fatal" description="toto"/>\n+\t</stdio>\n+\t-->\n+\n+ \t<command interpreter="bash">\n+ \t\talfa_wrapper.sh ${ALFA_config} $logReport\n+ \t</command>\t\n+\t\n+\t<inputs>\n+\t\t<param name="projectName" value="ALFA" type="text" size="20" label="Project Name">\n+\t\t\t<validator type="empty_field" message="Please, specify a name for your project."/>\n+\t\t</param>\n+\n+\t\t<section name="annotation" title="INPUT 1: Annotation File (GTF format)" expanded="True">\n+\t\t\t<conditional name="annotationSource">\n+\t\t\t\t<param name="annotationSourceSelection" type="select" label="Select the source of your annotation file">\n+\t\t\t\t\t<option value="personal_gtf" selected="true">Personal annotation file (GTF format)</option>\n+\t\t\t\t\t<option value="built_in_gtf">Built-in annotation file among a list of referenced genome (GTF format)</option>\n+\t\t\t\t\t<option value="index">Stranded and Unstranded Indexes previously generated by ALFA (Index format)</option>\n+\t\t\t\t</param>\n+\t\t\t\t<when value="personal_gtf">\n+\t\t\t\t\t<param name="annotationFile" type="data" format="Gff, Gtf" label="Select your personal annotation file (GTF format)" />\n+\t\t\t\t</when>\n+\t\t\t\t<when value="index">\n+\t\t\t\t\t<param name="strandedIndex" type="data" format="index" label="Select your ALFA stranded index file (index format)"/>\n+\t\t\t\t\t<param name="unstrandedIndex" type="data" format="index" label="Select your ALFA Unstranded index file (index format)"/>\n+\t\t\t\t</when>\n+\t\t\t\t\n+\t\t\t\t<when value="built_in_gtf">\n+\t\t\t\t\t<param name="genome" type="select" label="Select genome">\n+\t\t\t\t\t\t<options from_data_table="genomes" />\n+\t\t\t\t\t</param>\n+\t\t\t\t\t<param name="annotationFile" type="select" label="Select genome version">\n+\t\t\t\t\t\t<options from_data_table="annotations">\n+\t\t\t\t\t\t\t<filter type="static_value" value="gtf" column="format" keep="True" />\n+\t\t\t\t\t\t\t<filter type="param_value" ref="genome" column="species" keep="True" />\n+\t\t\t\t\t\t</options>\n+\t\t\t\t\t</param>\n+\t\t\t\t</when>\n+\t\t\t</conditional>\n+\t\t</section>\n+\n+\t\t<section name="reads" title="INPUT 2: Aligned Reads File(s) of the annotated sequence (BAM or BEDGRAPH format)" expanded="True">\n+\t\t\t<conditional name="readsType">\n+\t\t\t\t<param name="readsTypeSelection" type="select" label="Select the format of the reads file(s)">\n+\t\t\t\t\t<option value="bam" selected="true">BAM</option>\n+\t\t\t\t\t<option value="bedgraph">BEDGRAPH</option>\n+\t\t\t\t</param>\n+\t\t\t\t<when value="bam">\n+\t\t\t\t\t<repeat name="readsList" title="Reads File" min="1" >\n+\t\t\t\t\t\t<param name="readsFile" type="data" format="Bam" label="Select the reads file of your annotated sequence (BAM format)"/>\n+\t\t\t\t\t\t<param name="readsLabel" type="text" size="20" value="" label="Label of the reads" optional="True"/>\n+\t\t\t\t\t</repeat>\n+\t\t\t\t</when>\n+\t\t\t\t<when value="bedgraph">\n+\t\t\t\t\t<repeat name="readsList" title="Reads File" min="1">\n+\t\t\t\t\t\t<param name="readsFile" type="data" format="Bed" label="Select the reads file of your annotated sequence (BEDGRAPH format)"/>\n+\t\t\t\t\t\t<param name="readsLabel" type="text" size="20" value="" label="Label of the reads" optional="True"/>\n+\t\t\t\t\t</repeat>\n+\t\t\t\t</when>\n+\t\t\t</conditional>\n+\t\t\t<param name="strandness" type="select" label="Select the strandness of your mapped reads dataset">\n+\t\t\t\t<option value="unstranded" selected="true">Unstranded (reads will match genomic features on both forward and reverse strands of the annotated sequence)</option>\n+\t\t\t\t<option value="forward">Forward (reads will match only genomic features on the forward strand of the annotated sequence)</option>\n+\t\t\t\t<option value="reverse">Reverse (reads will match only genomic features on the reverse strand of the anno'..b'y.categories_count" ftype="txt" />\n+\t\t\t<output name="outputStrandedIndex" file="alfa_toy.stranded.index" ftype="txt" />\n+\t\t\t<output name="outputUnstrandedIndex" file="alfa_toy.unstranded.index" ftype="txt" />\n+\t\t\t<assert_stdout>\n+\t\t\t\t<has_text text="### End of the program" />\n+\t\t\t</assert_stdout>\n+\t\t</test>\n+\t</tests>\n+\t\n+\t<help>\n+**ALFA acronym**\n+\n+- Annotation.Landscape.For.Aligned reads\n+\n+----\n+\n+**What it does**\n+\n+\t| ALFA provides a global overview of features distribution composing New Generation Sequencing dataset(s). \n+\t|\n+ \t| Given a set of aligned reads (BAM files) and an annotation file (GTF format), the tool produces plots of the raw and normalized distributions of those reads among genomic categories (stop codon, 5\'-UTR, CDS, intergenic, etc.) and biotypes (protein coding genes, miRNA, tRNA, etc.). Whatever the sequencing technique, whatever the organism.\n+\n+----\n+\n+**Official documentation of the tool**\n+\n+\n+- https://github.com/biocompibens/ALFA\n+\n+----\n+\n+**Detailed example**\n+\n+- https://github.com/biocompibens/ALFA#detailed-example\n+\n+----\n+\n+**Nota Bene**\n+\n+1. **Input 1: Annotation File**\n+\n+\n+\t| ALFA requires as first input an annotation file (sequence, genome...) in gtf format in order to generate indexes that will be used in a 2nd step of the program.\n+\t| Indexes are files which list all the coordinates of all categories (stop codon, 5\'-UTR, CDS, intergenic...) and biotypes (protein coding genes, miRNA, tRNA, ...) encountered in the annotated sequence.\n+\t\n+.. class:: warningmark\n+\n+Gtf File must be sorted.\n+\n+.. class:: infomark\n+\n+Generation of indexes from an annotation file may be time consuming (i.e ~10min for the human genome). Thus, ALFA allows the user to submit directly indexes generated in previous runs.\n+\n+2. **Input 2: Reads**\n+\n+\t| ALFA requires as second input a single or a set of mapped reads file(s) in either bam or bedgraph format. These files are required to intersect the coordinates of the mapped reads with the associated categories and biotypes on the annotated sequence.\n+\t| The strandness option determines which strand of the annotated sequence will be taken into account during this intersection.\n+\n+.. class:: warningmark\n+\n+Bam or Bedgraph file(s) must be sorted.\n+\n+<!--\n+.. class:: warningmark\n+\n+For oriented reads (either matching the forward strand or the reverse strand), \'forward\' or \'reverse\' strandness must be selected.\n+\n+.. class:: warningmark\n+\n+For paired-end or non-oriented reads, \'unstranded\' strandness must be selected.\n+-->\n+\n+3. **Output files**\n+\n+\t| The result of the intersection is a count file displaying the count of nucleotides in the reads for each genomic categories and biotypes. From this count file, plots of the raw and normalized distributions of the reads among these categories are generated.\n+\t| In the output files section, the user can choose what kind of files he desires as ALFA output. Categories Count File and Plots are proposed by default. \n+\n+.. class:: infomark\n+\n+The user can also select the \'indexes\' option as output. This option is interesting if you plan to run ALFA again with the same submitted annotation file. *See Nota Bene/Input 1: Annotation File for more information.*\n+\n+\n+- `How the plots look like`_\n+\n+.. _How the plots look like: https://github.com/biocompibens/ALFA#plots\n+\n+- `How they are generated`_ \n+\n+.. _How they are generated: https://github.com/biocompibens/ALFA#detailed-example\n+\n+----\n+\n+**ALFA Developpers**\n+\n+\t| Beno\xc3\xaet No\xc3\xabl and Mathieu Bahin: *compbio team, Institut de Biologie de l\'Ecole Normale Sup\xc3\xa9rieure de Paris*\n+\n+\n+ </help>\n+\n+ <citations>\n+ \t<citation type="bibtex">@MISC{\n+ \t\tauthor="Beno\xc3\xaet No\xc3\xabl and Mathieu Bahin"\n+ \t\ttitle="ALFA: Annotation Landscape For Aligned reads"\n+ \t\tcrossref="https://github.com/biocompibens/ALFA"\n+ \t\tinstitution="Institut de Biologie de l\'Ecole Normale Sup\xc3\xa9rieure de Paris"\n+ \t\t}\n+ \t</citation>\n+ </citations>\n+</tool>\n\\ No newline at end of file\n' |