@@ -16,9 +16,9 @@ help_message () {
16
16
echo " metaspades Unsupervised feature extraction via metaSpades (https://cab.spbu.ru/software/meta-spades/)"
17
17
echo " "
18
18
echo " unique Supervised feature extraction using group-specific k-mers"
19
+ echo " chisq Supervised feature extraction using top significant k-mers by chi-squared test"
19
20
echo " stats Supervised feature extraction using statistically significant k-mers"
20
21
echo " colored Supervised feature extraction using group-colored de Bruijn graph"
21
- echo " lda Supervised feature extraction via Latent Dirichlet allocation model"
22
22
echo " "
23
23
echo " pca PCA visualisation of samples based on extracted features"
24
24
echo " fit Machine Learning methods to train classification model based on extracted features"
@@ -57,6 +57,10 @@ elif [ "$1" = unique ]; then
57
57
echo metafx unique ${@: 2} | tee -a $LOGFILE
58
58
{ time ${PIPES} /unique.sh ${@: 2} 2>&1 ; echo $? >> $LOGFILE ; } | tee -a $LOGFILE
59
59
exit ` tail -1 $LOGFILE `
60
+ elif [ " $1 " = chisq ]; then
61
+ echo metafx chisq ${@: 2} | tee -a $LOGFILE
62
+ { time ${PIPES} /chisq.sh ${@: 2} 2>&1 ; echo $? >> $LOGFILE ; } | tee -a $LOGFILE
63
+ exit ` tail -1 $LOGFILE `
60
64
elif [ " $1 " = stats ]; then
61
65
echo metafx stats ${@: 2} | tee -a $LOGFILE
62
66
{ time ${PIPES} /stats.sh ${@: 2} 2>&1 ; echo $? >> $LOGFILE ; } | tee -a $LOGFILE
@@ -65,11 +69,6 @@ elif [ "$1" = colored ]; then
65
69
echo metafx colored ${@: 2} | tee -a $LOGFILE
66
70
{ time ${PIPES} /colored.sh ${@: 2} 2>&1 ; echo $? >> $LOGFILE ; } | tee -a $LOGFILE
67
71
exit ` tail -1 $LOGFILE `
68
- elif [ " $1 " = lda ]; then
69
- echo " Not implemented error! Module is under development."
70
- exit 1
71
- # echo metafx lda ${@:2}
72
- # time ${PIPES}/lda.sh ${@:2}
73
72
elif [ " $1 " = pca ]; then
74
73
echo metafx pca ${@: 2} | tee -a $LOGFILE
75
74
{ time ${PIPES} /pca.sh ${@: 2} 2>&1 ; echo $? >> $LOGFILE ; } | tee -a $LOGFILE
0 commit comments