Skip to content

Commit

Permalink
Feature/internal minimizers (#22)
Browse files Browse the repository at this point in the history
Added optional internal minimizers as a fallback procedure when no matching segment is found
  • Loading branch information
sebastiandeorowicz authored Nov 22, 2024
1 parent ccaa1c4 commit bb471a1
Show file tree
Hide file tree
Showing 127 changed files with 13,136 additions and 10,276 deletions.
58 changes: 31 additions & 27 deletions .github/workflows/linux-self-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,28 @@ jobs:
runs-on: [linux-self-hosted , agc]
needs: checkout
env:
EXE_AGC: ./agc
EXE_AGC: ./bin/agc
steps:
# - name: make (g++ 9)
# run: |
# make clean
# make CXX=g++-9 agc
# make clean
#
- name: make (g++ 10)
run: |
make clean
make CXX=g++-10 agc
make clean
# - name: make (g++ 10)
# run: |
# make clean
# make CXX=g++-10 agc
# make clean
#
- name: make (g++ 11)
run: |
make CXX=g++-11 agc
make clean
- name: make (g++ 12)
run: |
make CXX=g++-12 agc
make clean
- name: make (default)
run: |
Expand Down Expand Up @@ -70,15 +74,15 @@ jobs:

- name: camp all together
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-all
./run_agc_complete_compr_test $OUT_NAME-all $FASTA $REF_NUM $LINE_LEN
rm -rf $OUT_NAME-all
- name: camp one by one
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-1by1
./run_agc_complete_one_by_one_test $OUT_NAME-1by1 $FASTA $LINE_LEN
Expand Down Expand Up @@ -108,15 +112,15 @@ jobs:

- name: camp all together PAR $PARAMS
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-all
./run_agc_complete_compr_test $OUT_NAME-all $FASTA $REF_NUM $LINE_LEN $PARAMS
rm -rf $OUT_NAME-all
- name: camp one by one $PARAMS
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-1by1
./run_agc_complete_one_by_one_test $OUT_NAME-1by1 $FASTA $LINE_LEN $ADAPTIVE_APPEND $PARAMS
Expand All @@ -142,7 +146,7 @@ jobs:

- name: salmo all together
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-all
./run_agc_complete_compr_test $OUT_NAME-all $FASTA $REF_NUM $LINE_LEN
Expand All @@ -151,7 +155,7 @@ jobs:
- name: salmo one by one
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-1by1
./run_agc_complete_one_by_one_test $OUT_NAME-1by1 $FASTA $LINE_LEN $ADAPTIVE_APPEND
Expand All @@ -177,15 +181,15 @@ jobs:

- name: salmo all together
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-all
./run_agc_complete_compr_test $OUT_NAME-all $FASTA $REF_NUM $LINE_LEN $PARAMS
rm -rf $OUT_NAME-all
- name: salmo one by one
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-1by1
./run_agc_complete_one_by_one_test $OUT_NAME-1by1 $FASTA $LINE_LEN $ADAPTIVE_APPEND $PARAMS
Expand All @@ -212,7 +216,7 @@ jobs:

- name: covid all together create + getcol
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME
mkdir $OUT_NAME
Expand All @@ -226,7 +230,7 @@ jobs:
- name: covid all together create -a + getset
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME
mkdir $OUT_NAME
Expand All @@ -237,7 +241,7 @@ jobs:
do
echo $i
SMPL=`sed " $i q;d" $OUT_NAME/$SET_LIST`
echo "./agc getset -l $LINE_LEN $OUT_NAME/$OUT_NAME.agc $SMPL > $OUT_NAME/$SMPL.fa"
echo "./bin/agc getset -l $LINE_LEN $OUT_NAME/$OUT_NAME.agc $SMPL > $OUT_NAME/$SMPL.fa"
$EXE_AGC getset -l $LINE_LEN $OUT_NAME/$OUT_NAME.agc $SMPL > $OUT_NAME/$SMPL.fa
done
cd $OUT_NAME
Expand All @@ -248,7 +252,7 @@ jobs:
- name: covid all together create -a + append + getset
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME
mkdir $OUT_NAME
Expand All @@ -260,7 +264,7 @@ jobs:
do
echo $i
SMPL=`sed " $i q;d" $OUT_NAME/$SET_LIST`
echo "./agc getset -l $LINE_LEN $OUT_NAME/$OUT_NAME-APPEND.agc $SMPL > $OUT_NAME/$SMPL.fa"
echo "./bin/agc getset -l $LINE_LEN $OUT_NAME/$OUT_NAME-APPEND.agc $SMPL > $OUT_NAME/$SMPL.fa"
$EXE_AGC getset -l $LINE_LEN $OUT_NAME/$OUT_NAME-APPEND.agc $SMPL > $OUT_NAME/$SMPL.fa
done
cd $OUT_NAME
Expand Down Expand Up @@ -291,7 +295,7 @@ jobs:

- name: covid all together create + getcol
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME
mkdir $OUT_NAME
Expand Down Expand Up @@ -324,15 +328,15 @@ jobs:

- name: hprc all together
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-all
./run_agc_complete_compr_test $OUT_NAME-all $FASTA $REF_NUM $LINE_LEN
rm -rf $OUT_NAME-all
- name: hprc one by one
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-1by1
./run_agc_complete_one_by_one_test $OUT_NAME-1by1 $FASTA $LINE_LEN
Expand All @@ -359,15 +363,15 @@ jobs:

- name: hprc all together
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-all
./run_agc_complete_compr_test $OUT_NAME-all $FASTA $REF_NUM $LINE_LEN $PARAMS
rm -rf $OUT_NAME-all
- name: hprc one by one
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-1by1
./run_agc_complete_one_by_one_test $OUT_NAME-1by1 $FASTA $LINE_LEN $ADAPTIVE_APPEND $PARAMS
Expand All @@ -391,7 +395,7 @@ jobs:

- name: hgsvc all together
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-all
./run_agc_complete_compr_test $OUT_NAME-all $FASTA $REF_NUM $LINE_LEN
Expand All @@ -416,7 +420,7 @@ jobs:

- name: hgsvc one by one
run: |
cp agc $DATA/
cp bin/agc $DATA/
cd $DATA
rm -rf $OUT_NAME-1by1
./run_agc_complete_one_by_one_test $OUT_NAME-1by1 $FASTA $LINE_LEN
Expand Down
Loading

0 comments on commit bb471a1

Please sign in to comment.