Mercurial > repos > triasteran > trips_create_new_organism
comparison trips_create_new_organism/create_annotation_sqlite.xml @ 2:4af7eb738348 draft
Uploaded
author | triasteran |
---|---|
date | Fri, 25 Feb 2022 12:06:51 +0000 |
parents | |
children | d55c72b843d9 |
comparison
equal
deleted
inserted
replaced
1:68e8704d9484 | 2:4af7eb738348 |
---|---|
1 <tool id="create_annotation_sqlite" name="create annotation in sqlite for trips-viz" version="0.1.1"> | |
2 <requirements> | |
3 <requirement type="package" version="0.4.6">pysqlite3</requirement> | |
4 <requirement type="package" version="3.1.0">python-intervaltree</requirement> | |
5 </requirements> | |
6 <command detect_errors="exit_code"><![CDATA[ | |
7 python2 '$__tool_directory__/create_annotation_sqlite.py' $annotation $fasta $pseudo_utr_len $transcript $gene $output | |
8 ]]></command> | |
9 <inputs> | |
10 <param format="gtf,gff" name="annotation" type="data" label="GTF/GFF3 File"/> | |
11 <param format="fasta" name="fasta" type="data" label="Transcriptome FASTA file"/> | |
12 <param name="pseudo_utr_len" type="text" label="Pseudo UTR length"/> | |
13 <param name="transcript" type="text" label="Example transcript"/> | |
14 <param name="gene" type="text" label="Example gene"/> | |
15 </inputs> | |
16 <outputs> | |
17 <data format="sqlite" name="output" /> | |
18 </outputs> | |
19 <tests> | |
20 <test> | |
21 <param name="input" value="fa_gc_content_input.fa"/> | |
22 <output name="output" file="saccharomyces_cerevisiae.sqlite"/> | |
23 </test> | |
24 </tests> | |
25 <help><![CDATA[ | |
26 **GTF/GFF3 File** | |
27 | |
28 GFF lines have nine required fields that must be tab-separated. | |
29 The GFF3 format addresses the most common extensions to GFF, while preserving backward compatibility with previous formats. | |
30 | |
31 Both transcript ids and gene names should be listed in the file. | |
32 | |
33 ----- | |
34 | |
35 **Transcriptome FASTA file** | |
36 | |
37 A FASTA file with an entry for every transcript. The headers should be the transcript id's as they appear in the GTF/GFF3 file. | |
38 | |
39 ----- | |
40 | |
41 **Psuedo UTR length** | |
42 An integer representing the length (in nucleotides) to be added to the 5' end and 3' end of every transcript with an annotated | |
43 CDS. Useful for when an organism does not have any annotated UTR's, if it does use 0. If not 0, the extra nucleotides should | |
44 already be present in the FASTA file. | |
45 | |
46 ----- | |
47 | |
48 **Example transcript** | |
49 | |
50 An example of a transcript id that appears in the FASTA/GTF/GFF3 file, e.g ENST00000123456 | |
51 | |
52 ----- | |
53 | |
54 **Example Gene** | |
55 | |
56 An example of a gene name as it appears in the GTF/GFF3 file, e.g BRCA1 | |
57 | |
58 ----- | |
59 | |
60 **Output** | |
61 | |
62 The output of the script can be downloaded and uploaded to Trips-viz_. by signing in and going to the uploads page, then selecting | |
63 "Upload new transcriptome". When uploaded the new organism will appear on the home page of Trips-viz, or under the transcriptomes | |
64 page if the organism name used is already present on Trips-viz. | |
65 | |
66 | |
67 | |
68 .. _Trips-viz: http://trips.ucc.ie | |
69 | |
70 ]]></help> | |
71 <citations> | |
72 <citation type="bibtex"> | |
73 @misc{githubTrips-Viz, | |
74 author = {LastTODO, FirstTODO}, | |
75 year = {TODO}, | |
76 title = {Trips-Viz}, | |
77 publisher = {GitHub}, | |
78 journal = {GitHub repository}, | |
79 url = {https://github.com/skiniry/Trips-Viz}, | |
80 }</citation> | |
81 </citations> | |
82 </tool> |