|
| 1 | +name: "bcftools_pluginfixploidy" |
| 2 | +description: "The fixploidy plugin fixes ploidy in genotype fields according to specified |
| 3 | + ploidy rules, sample sex assignments, or a forced ploidy value. For example, haploid |
| 4 | + genotypes can be converted to diploid genotypes." |
| 5 | +keywords: |
| 6 | + - fixploidy |
| 7 | + - bcftools |
| 8 | + - ploidy |
| 9 | + - vcf |
| 10 | +tools: |
| 11 | + - "bcftools": |
| 12 | + description: "BCFtools is a set of utilities that manipulate variant calls in |
| 13 | + the Variant Call Format (VCF) and its binary counterpart BCF. All commands work |
| 14 | + transparently with both VCFs and BCFs, both uncompressed and BGZF-compressed.\ |
| 15 | + \ Most commands accept VCF, bgzipped VCF and BCF with filetype detected automatically |
| 16 | + even when streaming from a pipe. Indexed VCF and BCF will work in all situations. |
| 17 | + Un-indexed VCF and BCF and streams will work in most, but not all situations." |
| 18 | + homepage: "https://samtools.github.io/bcftools/howtos/index.html" |
| 19 | + documentation: "https://samtools.github.io/bcftools/bcftools.html" |
| 20 | + tool_dev_url: "https://github.com/samtools/bcftools" |
| 21 | + doi: "10.1093/bioinformatics/btp352" |
| 22 | + licence: |
| 23 | + - "MIT" |
| 24 | + args_id: "$args" |
| 25 | + identifier: biotools:bcftools |
| 26 | + - "bcftools plugin fixploidy": |
| 27 | + description: "Bcftools plugins are tools that can be used with bcftools to manipulate |
| 28 | + variant calls in Variant Call Format (VCF) and BCF. The fixploidy plugin fixes |
| 29 | + ploidy in genotype fields according to specified ploidy rules, sample sex assignments, |
| 30 | + or a forced ploidy value. For example, haploid genotypes can be converted to |
| 31 | + diploid genotypes." |
| 32 | + homepage: "https://samtools.github.io/bcftools/howtos/plugins.html" |
| 33 | + documentation: "https://samtools.github.io/bcftools/howtos/plugin.setGT.html" |
| 34 | + tool_dev_url: "https://github.com/samtools/bcftools" |
| 35 | + doi: "10.1093/bioinformatics/btp352" |
| 36 | + licence: |
| 37 | + - "MIT" |
| 38 | + args_id: "$args2" |
| 39 | + identifier: biotools:bcftools |
| 40 | +input: |
| 41 | + - - meta: |
| 42 | + type: map |
| 43 | + description: | |
| 44 | + Groovy Map containing sample information |
| 45 | + e.g. [ id:'test', single_end:false ] |
| 46 | + - vcf: |
| 47 | + type: file |
| 48 | + description: | |
| 49 | + Input VCF/BCF file to fix ploidy in. |
| 50 | + e.g. 'sample.vcf.gz' |
| 51 | + ontologies: [] |
| 52 | + - index: |
| 53 | + type: file |
| 54 | + description: | |
| 55 | + Index file for the input VCF/BCF (e.g. .tbi or .csi). |
| 56 | + e.g. 'sample.vcf.gz.tbi' |
| 57 | + ontologies: [] |
| 58 | + - ploidy: |
| 59 | + type: file |
| 60 | + description: | |
| 61 | + Optional ploidy definition file for the fixploidy plugin (`-p`), with |
| 62 | + space/tab-delimited columns: CHROM, FROM, TO, SEX, PLOIDY. |
| 63 | + e.g. 'ploidy.txt' |
| 64 | + ontologies: [] |
| 65 | + - sex: |
| 66 | + type: file |
| 67 | + description: | |
| 68 | + Optional sample sex assignment file for the fixploidy plugin (`-s`), |
| 69 | + containing lines of the form: NAME SEX. |
| 70 | + Samples not listed are treated as female by the plugin. |
| 71 | + e.g. 'samples_sex.txt' |
| 72 | + ontologies: [] |
| 73 | + - regions: |
| 74 | + type: file |
| 75 | + description: | |
| 76 | + Optionally restrict the operation to regions listed in this file |
| 77 | + (indexed input required; passed as a bcftools regions file argument). |
| 78 | + e.g. 'regions.bed' |
| 79 | + ontologies: [] |
| 80 | + - targets: |
| 81 | + type: file |
| 82 | + description: | |
| 83 | + Optionally restrict the operation to targets listed in this file |
| 84 | + (does not rely on index jumps in the same way as regions; passed as a |
| 85 | + bcftools targets file argument). |
| 86 | + e.g. 'targets.bed' |
| 87 | + ontologies: [] |
| 88 | +output: |
| 89 | + vcf: |
| 90 | + - - meta: |
| 91 | + type: map |
| 92 | + description: | |
| 93 | + Groovy Map containing sample information |
| 94 | + e.g. [ id:'test', single_end:false ] |
| 95 | + - "*.{vcf,vcf.gz,bcf,bcf.gz}": |
| 96 | + type: file |
| 97 | + description: VCF output file containing GT fields with modified ploidy |
| 98 | + pattern: "*.{vcf,vcf.gz,bcf,bcf.gz}" |
| 99 | + ontologies: [] |
| 100 | + tbi: |
| 101 | + - - meta: |
| 102 | + type: map |
| 103 | + description: | |
| 104 | + Groovy Map containing sample information |
| 105 | + e.g. [ id:'test', single_end:false ] |
| 106 | + - "*.tbi": |
| 107 | + type: file |
| 108 | + description: Alternative VCF file index |
| 109 | + pattern: "*.tbi" |
| 110 | + ontologies: [] |
| 111 | + csi: |
| 112 | + - - meta: |
| 113 | + type: map |
| 114 | + description: | |
| 115 | + Groovy Map containing sample information |
| 116 | + e.g. [ id:'test', single_end:false ] |
| 117 | + - "*.csi": |
| 118 | + type: file |
| 119 | + description: Default VCF file index |
| 120 | + pattern: "*.csi" |
| 121 | + ontologies: [] |
| 122 | + versions_bcftools: |
| 123 | + - - ${task.process}: |
| 124 | + type: string |
| 125 | + description: The process the versions were collected from |
| 126 | + - bcftools: |
| 127 | + type: string |
| 128 | + description: The tool name |
| 129 | + - "bcftools --version | sed '1!d; s/^.*bcftools //'": |
| 130 | + type: eval |
| 131 | + description: The command used to generate the version of the tool |
| 132 | +topics: |
| 133 | + versions: |
| 134 | + - - ${task.process}: |
| 135 | + type: string |
| 136 | + description: The process the versions were collected from |
| 137 | + - bcftools: |
| 138 | + type: string |
| 139 | + description: The tool name |
| 140 | + - "bcftools --version | sed '1!d; s/^.*bcftools //'": |
| 141 | + type: eval |
| 142 | + description: The command used to generate the version of the tool |
| 143 | +authors: |
| 144 | + - "@alkc" |
| 145 | +maintainers: |
| 146 | + - "@alkc" |
0 commit comments