Mercurial > repos > bebatut > extract_sequence_file
annotate README.md @ 0:14fd6f3b0898 draft
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
author | bebatut |
---|---|
date | Wed, 27 Jan 2016 02:50:51 -0500 |
parents | |
children |
rev | line source |
---|---|
0
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
1 Extract from sequence file |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
2 ========================== |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
3 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
4 This tool is developped to extract from sequence file. Different treatments are possible. |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
5 Specific sequences could be extracted given some constraints and they could be saved in a sequence file. |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
6 Some information about the sequences such as the identifiant or the length could be extracted and saved in |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
7 a text file. Fastq file could also be split into a sequence file and a quality file. |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
8 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
9 # Usage |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
10 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
11 ``` |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
12 python extract_sequence_file.py \ |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
13 --input input_sequence_filepath \ |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
14 --format fastq/fasta |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
15 --custom_extraction_type yes/no \ |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
16 [--output_sequence output_sequence_filepath if custom_extraction_type = no] \ |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
17 [--output_information information_filepath if custom_extraction_type = yes] \ |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
18 [--to_extract "{info_to_extract,info_to_extract}" if custom_extraction_type = yes] \ |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
19 [--split yes/no if format=fastq] \ |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
20 [--output_quality output_quality_filepath if split=yes] \ |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
21 [--quality_format sanger/solexa/illumina_1_3/illumina_1_5/illumina_1_8 if split=yes] \ |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
22 --report report_filepath \ |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
23 [--constraint info_to_constrain: type_of_constraint: value_of_constraint ] |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
24 ``` |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
25 # Formats |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
26 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
27 Formats for sequence file: |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
28 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
29 - fasta |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
30 - fastq |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
31 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
32 Formats for quality scores: |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
33 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
34 - sanger |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
35 - solexa |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
36 - illumina_1_3 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
37 - illumina_1_5 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
38 - illumina_1_8 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
39 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
40 # Functional tests |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
41 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
42 Some functional tests are implemented tot est the major treatments. To launch functional tests: |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
43 |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
44 ``` |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
45 test-data/src/run_tests.sh |
14fd6f3b0898
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/extract_sequence_file/ commit ffb68b2ddd94854a34a2533105f7bc08884c6e38-dirty
bebatut
parents:
diff
changeset
|
46 ``` |