Mercurial > repos > artbio > cnv_facets
annotate facets_analysis.xml @ 7:86bcdc94b008 draft
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
| author | artbio |
|---|---|
| date | Wed, 08 Oct 2025 17:41:18 +0000 |
| parents | 625038b7d764 |
| children |
| rev | line source |
|---|---|
|
2
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
1 <tool id="facets_analysis" name="FACETS Analysis" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
2 <description>Performs allele-specific copy number analysis from a pileup file</description> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
3 <macros> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
5 </macros> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
7 <expand macro="stdio"/> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
9 Rscript '${__tool_directory__}/facets_analysis.R' |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
10 --pileup '$pileup' |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
11 --sample_id '$pileup.name' |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
12 --output_seg '$output_seg' |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
13 --output_summary '$output_summary' |
|
3
d1914f4d9daf
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 64ac36125f04497dd51028f307e059fca9ec0503
artbio
parents:
2
diff
changeset
|
14 --output_spider '$output_spider' |
|
2
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
15 --output_plots '$output_plots' |
|
4
3f62267c4be7
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit e47e0ed100904318ef4aae661b763e049c358edf
artbio
parents:
3
diff
changeset
|
16 --output_vcf '$output_vcf' |
|
2
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
17 --cval $cval |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
18 --min_nhet $min_nhet |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
19 --snp_nbhd $snp_nbhd |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
20 --gbuild '$gbuild' |
|
6
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
21 #if $merging.merge_select == "yes": |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
22 --enable_merging |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
23 --merge_gap_abs $merging.max_gap_abs |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
24 --merge_gap_rel $merging.max_gap_rel |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
25 #end if |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
26 --vcf_min_nhet $filtering.vcf_min_nhet |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
27 --vcf_min_num_mark $filtering.vcf_min_num_mark |
|
2
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
28 ]]></command> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
29 <inputs> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
30 <param name="pileup" type="data" format="tabular.gz" label="FACETS Pileup File" help="Output from the 'SNP Pileup for FACETS' tool."/> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
31 |
|
4
3f62267c4be7
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit e47e0ed100904318ef4aae661b763e049c358edf
artbio
parents:
3
diff
changeset
|
32 <param name="cval" type="float" value="150" label="Critical value for segmentation (cval)" |
|
3f62267c4be7
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit e47e0ed100904318ef4aae661b763e049c358edf
artbio
parents:
3
diff
changeset
|
33 help="Higher values lead to fewer segments (less sensitive). Lower values are more sensitive. For dense data (e.g., from WGS), higher values like 400-800 are recommended."/> |
|
2
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
34 <param name="min_nhet" type="integer" value="25" label="Minimum number of heterozygous SNPs per segment" help="Ensures that segments are supported by sufficient allelic information."/> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
35 |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
36 <param name="gbuild" type="select" label="Genome Build"> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
37 <option value="hg38" selected="true">Human (hg38)</option> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
38 <option value="hg19">Human (hg19)</option> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
39 <option value="hg18">Human (hg18)</option> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
40 <option value="mm10">Mouse (mm10)</option> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
41 <option value="mm9">Mouse (mm9)</option> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
42 </param> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
43 <param name="snp_nbhd" type="integer" value="300" label="SNP neighborhood size (snp.nbhd)" help="Should match the --pseudo-snps distance used to generate the pileup file. Default is 300."/> |
|
6
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
44 <conditional name="merging"> |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
45 <param name="merge_select" type="select" label="Post-process VCF to merge adjacent segments?" help="Optional step to merge adjacent CNV calls that likely represent a single biological event."> |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
46 <option value="no" selected="true">No</option> |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
47 <option value="yes">Yes</option> |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
48 </param> |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
49 <when value="no"/> |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
50 <when value="yes"> |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
51 <param name="max_gap_abs" type="integer" value="1000000" label="Absolute maximum gap to merge (bp)" help="Maximum distance in base pairs allowed between two segments to consider them for merging."/> |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
52 <param name="max_gap_rel" type="float" value="0.5" label="Relative maximum gap to merge (fraction)" help="Maximum relative distance, as a fraction of the average size of the two segments."/> |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
53 </when> |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
54 </conditional> |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
55 <section name="filtering" title="VCF Output Filtering" expanded="false"> |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
56 <param name="vcf_min_nhet" type="integer" value="2" label="Minimum heterozygous SNPs for VCF output" help="Post-filter to remove final segments with fewer than this many heterozygous SNPs."/> |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
57 <param name="vcf_min_num_mark" type="integer" value="3" label="Minimum total markers for VCF output" help="Post-filter to remove final segments with fewer than this many total markers (SNPs). Helps remove SVLEN=0 artifacts."/> |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
58 </section> |
|
2
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
59 </inputs> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
60 <outputs> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
61 <data name="output_seg" format="tsv" label="FACETS Segmentation on ${on_string}"/> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
62 <data name="output_summary" format="tabular" label="FACETS Summary on ${on_string}"/> |
|
3
d1914f4d9daf
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 64ac36125f04497dd51028f307e059fca9ec0503
artbio
parents:
2
diff
changeset
|
63 <data name="output_plots" format="png" label="FACETS Plots on ${on_string}"/> |
|
d1914f4d9daf
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 64ac36125f04497dd51028f307e059fca9ec0503
artbio
parents:
2
diff
changeset
|
64 <data name="output_spider" format="png" label="FACETS Spider Plot on ${on_string}"/> |
|
4
3f62267c4be7
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit e47e0ed100904318ef4aae661b763e049c358edf
artbio
parents:
3
diff
changeset
|
65 <data name="output_vcf" format="vcf" label="FACETS CNV calls (VCF) on ${on_string}"/> |
|
3
d1914f4d9daf
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 64ac36125f04497dd51028f307e059fca9ec0503
artbio
parents:
2
diff
changeset
|
66 |
|
2
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
67 </outputs> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
68 <tests> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
69 <test> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
70 <param name="pileup" value="Pileup.input_test_facets.csv.gz" ftype="tabular.gz"/> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
71 <output name="output_seg" file="test_sample_01.seg.tsv" ftype="tsv"/> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
72 <output name="output_summary" file="test_sample_01.summary.txt" ftype="tabular"/> |
|
3
d1914f4d9daf
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 64ac36125f04497dd51028f307e059fca9ec0503
artbio
parents:
2
diff
changeset
|
73 <output name="output_plots" file="test_sample_01.plots.png" ftype="png" compare="sim_size" delta="20000"/> |
|
d1914f4d9daf
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 64ac36125f04497dd51028f307e059fca9ec0503
artbio
parents:
2
diff
changeset
|
74 <output name="output_spider" file="test_sample_01.spider.png" ftype="png" compare="sim_size" delta="10000"/> |
|
5
1d56a6b5739f
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 7d1b40132efd24ac3c8a4b80cc5ca063636a2a38
artbio
parents:
4
diff
changeset
|
75 <output name="output_vcf" file="test_sample_01.cnv.vcf" ftype="vcf" lines_diff="2" /> |
|
2
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
76 </test> |
|
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
77 </tests> |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
78 <help><![CDATA[ |
|
6
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
79 **What it does** |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
80 |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
81 This tool runs the `FACETS` R package to perform allele-specific copy number |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
82 and clonal heterogeneity analysis. It takes the compressed pileup file |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
83 generated by the "SNP Pileup for FACETS" tool as its primary input and |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
84 produces a set of standard FACETS outputs. |
|
6
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
85 |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
86 --- |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
87 |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
88 **Primary Parameters** |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
89 |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
90 These parameters control the core of the FACETS segmentation algorithm. |
|
2
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
91 |
|
6
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
92 - **Critical value for segmentation (cval):** This is the most important |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
93 parameter for controlling the sensitivity. A *higher* value (e.g., 200-800) |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
94 results in fewer segments (less sensitive) and is recommended for |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
95 high-density data (WGS). A *lower* value (e.g., 50-150) increases |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
96 sensitivity and is more suitable for sparser data (WES). |
|
2
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
97 |
|
6
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
98 - **Minimum number of heterozygous SNPs (min.nhet):** This is a quality |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
99 filter. Segments supported by fewer heterozygous SNPs than this |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
100 threshold will be discarded during the initial segmentation pass. |
|
6
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
101 |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
102 - **SNP neighbourhood size (snp.nbhd):** Defines the genomic window (in bp) |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
103 around a SNP used for local read depth normalization. |
|
6
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
104 |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
105 --- |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
106 |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
107 **Advanced VCF Post-processing** |
|
4
3f62267c4be7
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit e47e0ed100904318ef4aae661b763e049c358edf
artbio
parents:
3
diff
changeset
|
108 |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
109 You can optionally enable post-processing steps to refine the final VCF. |
|
6
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
110 |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
111 - **Merging Segments:** This option merges adjacent CNV segments that likely |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
112 represent a single biological event, providing a cleaner and more |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
113 biologically accurate output. |
|
6
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
114 |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
115 - **Filtering Segments:** This option removes low-quality or artefactual |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
116 segments based on the number of SNPs supporting them. This is recommended |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
117 as FACETS can sometimes report micro-segments that are not biologically |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
118 relevant. |
|
6
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
119 |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
120 --- |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
121 |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
122 **Outputs** |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
123 |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
124 - **Segmentation file (TSV):** The raw segment data with genomic coordinates |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
125 and their associated copy number (TCN, LCN). |
|
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
126 - **Summary file:** The main estimated parameters like purity, ploidy, etc. |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
127 - **Plots file (PNG):** A genome-wide visualization of the copy number and |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
128 allelic imbalance results across all chromosomes. |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
129 - **Spider Plot (PNG):** The most important **diagnostic plot** for assessing |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
130 the quality of the FACETS fit. See detailed explanation below. |
|
6
625038b7d764
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 8cced47697e5777fd60dacc60300e770bd409e9d
artbio
parents:
5
diff
changeset
|
131 - **CNV calls file (VCF):** A summary of the detected copy number events in |
|
7
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
132 a standard VCF format for structural variants. The `ALT` column contains |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
133 symbolic alleles (`<DEL>`, `<DUP>`). All FACETS-specific details are in |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
134 the `INFO` field: |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
135 |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
136 ``SVTYPE`` |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
137 Type of variant (e.g., DEL, DUP). |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
138 ``EVENT`` |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
139 FACETS classification (e.g., HOMOZYG_DEL, CN_LOH). |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
140 ``TCN`` |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
141 Total Copy Number. |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
142 ``LCN`` |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
143 Lesser Copy Number. |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
144 ``NUM_MARK`` |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
145 Total number of SNPs in the segment. |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
146 ``NHET`` |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
147 Number of heterozygous SNPs in the segment. |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
148 |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
149 **Interpreting the Spider Plot** |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
150 |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
151 On this plot (generated by the `logRlogORspider` function), each |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
152 **circle** is a genomic segment from your data. The **curves** (labeled |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
153 `2-1`, `1-0`, etc.) represent the theoretical positions for integer copy |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
154 number states. A high-confidence result is achieved when your data (the |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
155 circles) align closely with these curves. For details, refer to the |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
156 original FACETS publication: Shen and Seshan, *NAR*, 2016. |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
157 |
|
86bcdc94b008
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 2da49e9385ddce5c74e077c81a52ff1ea4131b81
artbio
parents:
6
diff
changeset
|
158 ]]></help> |
|
2
66a56502199d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 0176d2cc4f1caf0ab948ef72efb25ccce735461e
artbio
parents:
diff
changeset
|
159 <expand macro="citations"/> |
|
5
1d56a6b5739f
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/facets commit 7d1b40132efd24ac3c8a4b80cc5ca063636a2a38
artbio
parents:
4
diff
changeset
|
160 </tool> |
