Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions test_src/fastp/R1.fq
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@NS500713:64:HFKJJBGXY:1:11101:1675:1101 1:N:0:TATAGCCT+GACCCCCA
AAAAAAAAGCTACTTGGAGTACCAATAATAAAGTGAGCCCACCTTCCTGGTACCCAGACATTTCAGGAGGTCGGGAAA
+
6AAAAAEEEEE/E/EA/E/AEA6EE//AEE66/AAE//EEE/E//E/AA/EEE/A/AEE/EEA//EEEEEEEE6EEAA
11 changes: 11 additions & 0 deletions test_src/fastp/UMI_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
fastp -i R1.fq -o out.R1.fq -U --umi_loc=read1 --umi_len=8
echo
diff out.R1.fq out.R1.fq_expected
if [ "$?" = "0" ]
then
echo "Success"
else
echo "Fail!!!"
exit 1
fi
4 changes: 4 additions & 0 deletions test_src/fastp/out.R1.fq_expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@NS500713:64:HFKJJBGXY:1:11101:1675:1101:AAAAAAAA 1:N:0:TATAGCCT+GACCCCCA
GCTACTTGGAGTACCAATAATAAAGTGAGCCCACCTTCCTGGTACCCAGACATTTCAGGAGGTCGGGAAA
+
EEE/E/EA/E/AEA6EE//AEE66/AAE//EEE/E//E/AA/EEE/A/AEE/EEA//EEEEEEEE6EEAA
16 changes: 16 additions & 0 deletions tests/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,22 @@ cp2k:
action: store_true

#-------------------------------------------------------------------
# fastp Test
#-------------------------------------------------------------------
fastp:
summary: fastp UNI test
build:
source_path: fastp
copy_files:
- ./**
schedule:
nodes: 1
slurm:
run:
modules: ['gcc', 'fastp']
cmds:
- '{{sched.test_cmd}} ./UMI_test.sh'

# Trycycler Test
#-------------------------------------------------------------------
trycycler:
Expand Down