annotate README.md @ 0:1d1b9e1b2e2f draft

Uploaded
author petr-novak
date Thu, 19 Dec 2019 10:24:45 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
1 # RepeatExplorer2 with TAREAN (Tandem Repeat Analyzer) #
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
2 -------------------------------------------------------------------------------
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
3 New version of RepeatExplorer with TAndem REpeat ANalyzer
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
4
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
5 ## Authors
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
6 Petr Novak, Jiri Macas, Pavel Neumann
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
7 Biology Centre CAS, Czech Republic
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
8
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
9 ## Change log
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
10
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
11 [link](CHANGELOG.md)
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
12
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
13
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
14
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
15 ## Instalation ##
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
16 To use RepeatExplorer without installation, We recommend to use our freely
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
17 available galaxy server at
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
18 [https://repeatexplorer-elixir.cerit-sc.cz](https://repeatexplorer-elixir.cerit-sc.cz).
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
19 This server is provided in frame of ELIXIR-CZ project. Additionally, the galaxy
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
20 server includs also additional tools useful data preprocessing, quality contraol
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
21 and genome annotation.
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
22
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
23 For command line version from standalone installation, follow the instruction below:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
24
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
25
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
26 To download source using git command:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
27
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
28 git clone https://bitbucket.org/petrnovak/repex_tarean.git
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
29 cd repex_tarean
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
30
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
31 We recommend to install dependencies using conda (conda can be installed using [miniconda](https://docs.conda.io/en/latest/miniconda.html)). The required environment can be prepared using command:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
32
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
33 conda env create -f environment.yml
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
34
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
35 activate prepared environment using:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
36
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
37 conda activate repeatexplorer
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
38
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
39 In the `repex_tarean` direcory compile source and prepare databases using:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
40
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
41 make
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
42
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
43 Support for 32-bit executables is required. If you are using Ubuntu distribution you can add 32-bit support by running:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
44
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
45 sudo dpkg --add-architecture i386
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
46 sudo apt-get update
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
47 sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
48
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
49
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
50 to verify installation you can run clustering on example data:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
51
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
52 ./seqclust -p -v tmp/clustering_output test_data/LAS_paired_10k.fas
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
53
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
54
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
55 ## Protein databases
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
56
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
57 Repeatexplorer2 utilize REXdb database of protein domains for repeat annotation and classification. Structure of database is described on [http://repeatexplorer.org/](http://repeatexplorer.org/). Current version of database for repeatexplorer is fetched from bitbucket repository [https://bitbucket.org/petrnovak/re_databases]https://bitbucket.org/petrnovak/re_databases() during compilation using make command
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
58
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
59
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
60 ## RepeatExplorer command line options
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
61
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
62 usage: seqclust [-h] [-p] [-A] [-t] [-l LOGFILE] [-m {float range 0.0..100.0}]
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
63 [-M {0,float range 0.1..1}] [-o {float range 30.0..80.0}]
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
64 [-c CPU] [-s SAMPLE] [-P PREFIX_LENGTH] [-v OUTPUT_DIR]
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
65 [-r MAX_MEMORY] [-d DATABASE DATABASE] [-C] [-k]
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
66 [-a {2,3,4,5}]
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
67 [-tax {VIRIDIPLANTAE3.0,VIRIDIPLANTAE2.2,METAZOA2.0,METAZOA3.0}]
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
68 [-opt {ILLUMINA,ILLUMINA_DUST_OFF,ILLUMINA_SHORT,OXFORD_NANOPORE}]
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
69 [-D {BLASTX_W2,BLASTX_W3,DIAMOND}]
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
70 sequences
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
71
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
72 RepeatExplorer:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
73 Repetitive sequence discovery and clasification from NGS data
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
74
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
75
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
76
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
77 positional arguments:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
78 sequences
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
79
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
80 optional arguments:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
81 -h, --help show this help message and exit
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
82 -p, --paired
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
83 -A, --automatic_filtering
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
84 -t, --tarean_mode analyze only tandem reapeats without additional classification
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
85 -l LOGFILE, --logfile LOGFILE
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
86 log file, logging goes to stdout if not defines
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
87 -m {float range 0.0..100.0}, --mincl {float range 0.0..100.0}
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
88 -M {0,float range 0.1..1}, --merge_threshold {0,float range 0.1..1}
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
89 threshold for mate-pair based cluster merging, default 0 - no merging
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
90 -o {float range 30.0..80.0}, --min_lcov {float range 30.0..80.0}
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
91 minimal overlap coverage - relative to longer sequence length, default 55
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
92 -c CPU, --cpu CPU number of cpu to use, if 0 use max available
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
93 -s SAMPLE, --sample SAMPLE
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
94 use only sample of input data[by default max reads is used
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
95 -P PREFIX_LENGTH, --prefix_length PREFIX_LENGTH
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
96 If you wish to keep part of the sequences name,
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
97 enter the number of characters which should be
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
98 kept (1-10) instead of zero. Use this setting if
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
99 you are doing comparative analysis
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
100 -v OUTPUT_DIR, --output_dir OUTPUT_DIR
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
101 -r MAX_MEMORY, --max_memory MAX_MEMORY
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
102 Maximal amount of available RAM in kB if not set
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
103 clustering tries to use whole available RAM
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
104 -d DATABASE DATABASE, --database DATABASE DATABASE
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
105 fasta file with database for annotation and name of database
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
106 -C, --cleanup remove unncessary large files from working directory
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
107 -k, --keep_names keep sequence names, by default sequences are renamed
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
108 -a {2,3,4,5}, --assembly_min {2,3,4,5}
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
109 Assembly is performed on individual clusters, by default
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
110 clusters with size less then 5 are not assembled. If you
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
111 want need assembly of smaller cluster set *assmbly_min*
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
112 accordingly
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
113 -tax {VIRIDIPLANTAE3.0,VIRIDIPLANTAE2.2,METAZOA2.0,METAZOA3.0}, --taxon {VIRIDIPLANTAE3.0,VIRIDIPLANTAE2.2,METAZOA2.0,METAZOA3.0}
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
114 Select taxon and protein database version
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
115 -opt {ILLUMINA,ILLUMINA_DUST_OFF,ILLUMINA_SHORT,OXFORD_NANOPORE}, --options {ILLUMINA,ILLUMINA_DUST_OFF,ILLUMINA_SHORT,OXFORD_NANOPORE}
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
116 -D {BLASTX_W2,BLASTX_W3,DIAMOND}, --domain_search {BLASTX_W2,BLASTX_W3,DIAMOND}
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
117 Detection of protein domains can be performed by either blastx or
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
118 diamond" program. options are:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
119 BLASTX_W2 - blastx with word size 2 (slowest, the most sesitive)
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
120 BLASTX_W3 - blastx with word size 3 (default)
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
121 DIAMOND - diamond program (significantly faster, less sensitive)
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
122 To use this option diamond program must be installed in your PATH
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
123
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
124
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
125
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
126 ## Galaxy toolshed
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
127 TODO
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
128
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
129 ## Reproducibility
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
130 To make clustering reproducible between runs with the
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
131 same data, environment variable PYTHONHASHSEED must be set:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
132
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
133 export PYTHONHASHSEED=0
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
134
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
135 ## Disk space requirements
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
136 Large sqlite database for temporal data is created in OS specific temp directory- usually /tmp/
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
137 To use alternative location, it is necessary specify `TEMP` environment variable.
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
138
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
139 ## CPU and RAM requirements
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
140
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
141 Resources requirements can be set either from command line arguments `--max-memory` and `--cpu` or
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
142 using environment variables `TAREAN_MAX_MEM` and `TAREAN_CPU`. If not set, pipeline use all
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
143 available resources
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
144
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
145 ## How cite
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
146
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
147 If you use RepeatExplorer for general repeat characterization in your work please cite:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
148
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
149 - [Novak, P., Neumann, P., Pech, J., Steinhaisl, J., Macas, J. (2013) - RepeatExplorer: a Galaxy-based web server for genome-wide characterization of eukaryotic repetitive elements from next generation sequence read. Bioinformatics 29:792-793](http://bioinformatics.oxfordjournals.org/content/29/6/792)
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
150
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
151 or
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
152
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
153 - [Novak, P., Neumann, P., Macas, J. (2010) - Graph-based clustering and characterization of repetitive sequences in next-generation sequencing data. BMC Bioinformatics 11 :37](http://www.biomedcentral.com/1471-2105/11/378)
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
154
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
155 If you use TAREAN for satellite detection and characterization please cite:
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
156
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
157 - [Novak, P., Robledillo, L.A.,Koblizkova, A., Vrbova, I., Neumann, P., Macas, J. (2017) - TAREAN: a computational tool for identification and characterization of satellite DNA from unassembled short reads. Nucleic Acid Research](https://doi.org/10.1093/nar/gkx257)
1d1b9e1b2e2f Uploaded
petr-novak
parents:
diff changeset
158