@@ -9,6 +9,7 @@ export const workflowOptions = [
99 { value : 'taxonomy' , label : workflowList [ 'taxonomy' ] . label } ,
1010 { value : 'phylogeny' , label : workflowList [ 'phylogeny' ] . label } ,
1111 { value : 'refBased' , label : workflowList [ 'refBased' ] . label } ,
12+ { value : 'geneFamily' , label : workflowList [ 'geneFamily' ] . label } ,
1213]
1314
1415export const taxClassificationOptions = {
@@ -1861,4 +1862,122 @@ export const workflows = {
18611862 } ,
18621863 } ,
18631864 } ,
1865+ geneFamily : {
1866+ validForm : true ,
1867+ errMessage : 'input error' ,
1868+ paramsOn : true ,
1869+ files : [ ] ,
1870+ rawReadsInput : {
1871+ source : 'fastq' ,
1872+ fastq : {
1873+ enableInput : true ,
1874+ placeholder : 'Select a file or enter a file http(s) url' ,
1875+ dataSources : [ 'upload' , 'public' , 'project' ] ,
1876+ fileTypes : [ 'fastq' , 'fq' , 'fastq.gz' , 'fq.gz' ] ,
1877+ projectTypes : [ 'runFaQCs' ] ,
1878+ projectScope : [ 'self+shared' ] ,
1879+ viewFile : false ,
1880+ isOptional : false ,
1881+ cleanupInput : true ,
1882+ maxInput : 1000 ,
1883+ } ,
1884+ fasta : {
1885+ enableInput : true ,
1886+ placeholder : 'Select a file or enter a file http(s) url' ,
1887+ dataSources : [ 'upload' , 'public' , 'project' ] ,
1888+ fileTypes : [ 'fasta' , 'fa' , 'fna' , 'contigs' ] ,
1889+ projectTypes : [ 'assembly' , 'annotation' ] ,
1890+ projectScope : [ 'self+shared' ] ,
1891+ viewFile : false ,
1892+ isOptional : false ,
1893+ cleanupInput : true ,
1894+ maxInput : 1 ,
1895+ } ,
1896+ } ,
1897+ inputs : {
1898+ readsGeneFamily : {
1899+ text : 'Reads Gene Family Analysis' ,
1900+ value : true ,
1901+ switcher : {
1902+ trueText : 'Yes' ,
1903+ falseText : 'No' ,
1904+ defaultValue : true ,
1905+ } ,
1906+ } ,
1907+ contigsGeneFamily : {
1908+ text : 'Contigs Gene Family Analysis' ,
1909+ value : false ,
1910+ switcher : {
1911+ trueText : 'Yes' ,
1912+ falseText : 'No' ,
1913+ defaultValue : false ,
1914+ } ,
1915+ } ,
1916+ } ,
1917+ readsInputs : {
1918+ virulenceFactorTool : {
1919+ text : 'Virulence Factor (VF) Detection Tool' ,
1920+ tooltip : `MetaVF Toolkit will identify VFs in PE reads through sequence similarity search using
1921+ VFDB 2.0 <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC11402979/" target="_blank" rel="noopener noreferrer"><span style="color:yellow;">[here]</span></a>` ,
1922+ value : 'MetaVF Toolkit' ,
1923+ display : 'MetaVF Toolkit' ,
1924+ options : [
1925+ { text : 'MetaVF Toolkit' , value : 'MetaVF Toolkit' } ,
1926+ { text : 'PathoFact2' , value : 'PathoFact2' , disabled : true } ,
1927+ ] ,
1928+ } ,
1929+ } ,
1930+ contigsInputs : {
1931+ inputFAA : {
1932+ text : 'Input FAA File' ,
1933+ value : null ,
1934+ display : null ,
1935+ fileInput : {
1936+ enableInput : true ,
1937+ placeholder : '(Required) Select a file or enter a file http(s) url' ,
1938+ dataSources : [ 'upload' , 'public' , 'project' ] ,
1939+ fileTypes : [ 'faa' ] ,
1940+ projectTypes : [ 'annotation' ] ,
1941+ projectScope : [ 'self+shared' ] ,
1942+ viewFile : false ,
1943+ isOptional : false ,
1944+ cleanupInput : true ,
1945+ } ,
1946+ } ,
1947+ inputGFF : {
1948+ text : 'Input GFF File' ,
1949+ value : null ,
1950+ display : null ,
1951+ fileInput : {
1952+ enableInput : true ,
1953+ placeholder : '(Required) Select a file or enter a file http(s) url' ,
1954+ dataSources : [ 'upload' , 'public' , 'project' ] ,
1955+ fileTypes : [ 'gff' ] ,
1956+ projectTypes : [ 'annotation' ] ,
1957+ projectScope : [ 'self+shared' ] ,
1958+ viewFile : false ,
1959+ isOptional : false ,
1960+ cleanupInput : true ,
1961+ } ,
1962+ } ,
1963+ virulenceFactorTool : {
1964+ text : 'Virulence Factor (VF) Detection Tool' ,
1965+ tooltip : `MetaVF Toolkit will identify VFs in contigs through sequence similarity search using
1966+ VFDB 2.0 <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC11402979/" target="_blank" rel="noopener noreferrer"><span style="color:yellow;">[here]</span></a>; PathoFact2.` ,
1967+ value : 'MetaVF Toolkit' ,
1968+ display : 'MetaVF Toolkit' ,
1969+ options : [
1970+ { text : 'MetaVF Toolkit' , value : 'MetaVF Toolkit' } ,
1971+ { text : 'PathoFact2' , value : 'PathoFact2' } ,
1972+ ] ,
1973+ } ,
1974+ } ,
1975+ // only for input with validation method
1976+ validInputs : {
1977+ contigsInputs : {
1978+ inputFAA : { isValid : false , error : 'Input FAA File error. Required' } ,
1979+ inputGFF : { isValid : false , error : 'Input GFF File error. Required' } ,
1980+ } ,
1981+ } ,
1982+ } ,
18641983}
0 commit comments