Mercurial > repos > jjohnson > bcftools_convert_from_vcf
annotate README.md @ 1:00c4dab57376 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
author | jjohnson |
---|---|
date | Sun, 26 Jun 2016 15:33:34 -0400 |
parents | d396503fdbdb |
children |
rev | line source |
---|---|
0
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
1 # bcftools (v1.3) |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
2 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
3 Copied from branch bcftools1.2: |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
4 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
5 This aims to be a "faithful" rendering of the bcftool suite. I.e. options are |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
6 presented essentially as closely to the command line version as is useful. |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
7 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
8 This may not appeal to all, if you'd like to see smaller and more dedicated |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
9 tools (e.g. "intersect", "union" and "complement" being separate tools instead |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
10 of all of them included in the "isec" tool,) please feel free to file an issue. |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
11 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
12 Updated for bcftools v1.3 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
13 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
14 This was extended from the bcftools1.2 branch then greatly hand edited to |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
15 group params and manage param innteractions. |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
16 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
17 In the macros.xml there are macros and tokens to handle file input and output. |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
18 These use the datatypes currently available in galaxy: Vcf and Bcf |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
19 The macros take care of bgzip and indexing of inputs. |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
20 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
21 The convert command was split into 2 tools, "convert to vcf" and "convert from vcf" |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
22 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
23 ## TODO: |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
24 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
25 - stats needs a matplotlib tool dependency and pdflatex for generating a pdf of plots |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
26 - cnv needs a matplotlib tool dependency for generating images, then a means to consolidate those. |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
27 - cnv needs an input.vcf for testing, runs with bcftools cnv -s "HG00101" -o 'HG00101/' -p 5 mpileup.vcf |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
28 - roh needs a more useful input.vcf for testing |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
29 - plugin color chrs |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
30 - plugin frameshifts |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
31 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
32 ## Status |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
33 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
34 The wrappers were automatically generated in bulk. That doesn't get them 100% |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
35 of the way there (e.g. meaningful test cases), so the rest of the process is a |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
36 bit slower. |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
37 |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
38 - [x] annotate |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
39 - [x] call |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
40 - [ ] cnv (needs real test data, needs plotting) |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
41 - [x] concat |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
42 - [x] consensus |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
43 - [x] convert from vcf |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
44 - [x] convert to vcf |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
45 - [x] filter |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
46 - [x] gtcheck |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
47 - [x] isec |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
48 - [x] merge |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
49 - [x] norm |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
50 - [x] query |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
51 - [x] query list samples |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
52 - [x] reheader |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
53 - [x] roh |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
54 - [x] stats (needs plotting) |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
55 - [x] view |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
56 - [ ] +color chrs |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
57 - [x] +counts |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
58 - [x] +dosage |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
59 - [x] +fill an ac |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
60 - [x] +fill tags |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
61 - [x] +fixploidy |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
62 - [ ] +frameshifts |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
63 - [x] +impute info |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
64 - [x] +mendelian |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
65 - [x] +missing2ref |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
66 - [x] +setgt |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
67 - [x] +tag2tag |
d396503fdbdb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff
changeset
|
68 - [x] +vcf2sex |