Skip to content

Commit

Permalink
find marine
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Kofman committed Jul 8, 2024
1 parent 99a882b commit 711a516
Show file tree
Hide file tree
Showing 18 changed files with 41 additions and 55 deletions.
4 changes: 2 additions & 2 deletions tests/TESTS_README.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Before running tests, MARINE environment variable must be set from main MARINE directory (i.e. the directory containingg the examples directory). The path to the main MARINE directory should also be appended to the PATH environment variable.

export MARINE=$(pwd)
export PATH=$PATH:$(pwd)
export MARINE=$(pwd)
export PATH=$PATH:$(pwd)



Expand Down
4 changes: 2 additions & 2 deletions tests/integration_tests_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ do
rm $MARINE/tests/$tests_folder$t/* -r

echo "Running tests..."
bash $MARINE/tests/$tests_folder/scripts/$t.sh
bash $MARINE/tests/$tests_folder/scripts/$t.sh $mypython

done

Expand All @@ -43,7 +43,7 @@ do
rm $MARINE/tests/$tests_folder$t/* -r

echo "Running tests..."
bash $MARINE/tests/$tests_folder/scripts/$t.sh
bash $MARINE/tests/$tests_folder/scripts/$t.sh $mypython

done

Expand Down
13 changes: 7 additions & 6 deletions tests/singlecell_tests/scripts/long_read_sc_test.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
python \
/tscc/projects/ps-yeolab3/ekofman/sailor2/marine.py \
mypython=$1

$mypython $MARINE/marine.py \
--bam_filepath \
/tscc/projects/ps-yeolab3/ekofman/sailor2/examples/data/LR_single_cell.md.subset.filtered.sorted.bam \
$MARINE/examples/data/LR_single_cell.md.subset.filtered.sorted.bam \
--annotation_bedfile_path \
/tscc/projects/ps-yeolab3/ekofman/sailor2/annotations/cellranger-mm10-3.0.0.annotation.genes.bed \
$MARINE/annotations/cellranger-mm10-3.0.0.annotation.genes.bed \
--output_folder \
/tscc/projects/ps-yeolab3/ekofman/sailor2/tests/singlecell_tests/long_read_sc_test \
$MARINE/tests/singlecell_tests/long_read_sc_test \
--min_dist_from_end \
0 \
--min_base_quality \
0 \
--cores \
16 \
--barcode_whitelist_file /tscc/projects/ps-yeolab3/ekofman/sailor2/examples/data/sc_lr_barcodes.tsv.gz \
--barcode_whitelist_file $MARINE/examples/data/sc_lr_barcodes.tsv.gz \
--strandedness 2 \
--barcode_tag "IB" \
--contigs "6" \
Expand Down
11 changes: 6 additions & 5 deletions tests/singlecell_tests/scripts/only_5_cells_test.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
python \
/tscc/projects/ps-yeolab3/ekofman/sailor2/marine.py \
mypython=$1

$mypython $MARINE/marine.py \
--bam_filepath \
/tscc/projects/ps-yeolab3/ekofman/sailor2/tests/singlecell_tests/bams/9_3000526_only_5_cells.bam \
$MARINE/tests/singlecell_tests/bams/9_3000526_only_5_cells.bam \
--annotation_bedfile_path \
/tscc/projects/ps-yeolab3/ekofman/sailor2/annotations/cellranger-mm10-3.0.0.annotation.genes.bed \
$MARINE/annotations/cellranger-mm10-3.0.0.annotation.genes.bed \
--output_folder \
/tscc/projects/ps-yeolab3/ekofman/sailor2/tests/singlecell_tests/only_5_cells_test \
$MARINE/tests/singlecell_tests/only_5_cells_test \
--min_dist_from_end \
0 \
--min_base_quality \
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
marine.py \
mypython=$1

$mypython $MARINE/marine.py \
--bam_filepath \
$MARINE/tests/strandedness_tests/bams/F1R2_pair.bam \
--annotation_bedfile_path \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
marine.py \
mypython=$1

$mypython $MARINE/marine.py \
--bam_filepath \
$MARINE/tests/strandedness_tests/bams/F1R2_pair.bam \
--annotation_bedfile_path \
Expand Down
4 changes: 3 additions & 1 deletion tests/strandedness_tests/scripts/F1R2_pair_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
marine.py \
mypython=$1

$mypython $MARINE/marine.py \
--bam_filepath \
$MARINE/tests/strandedness_tests/bams/F1R2_pair.bam \
--annotation_bedfile_path \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
marine.py \
mypython=$1

$mypython $MARINE/marine.py \
--bam_filepath \
$MARINE/tests/strandedness_tests/bams/F2R1_end_second_in_pair.bam \
--annotation_bedfile_path \
Expand Down
4 changes: 3 additions & 1 deletion tests/strandedness_tests/scripts/pair_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
marine.py \
mypython=$1

$mypython $MARINE/marine.py \
--bam_filepath \
$MARINE/tests/strandedness_tests/bams/pair_example_18_49488551_49590000.sorted.bam \
--annotation_bedfile_path \
Expand Down
4 changes: 3 additions & 1 deletion tests/strandedness_tests/scripts/same_pos_dif_reads_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
marine.py \
mypython=$1

$mypython $MARINE/marine.py \
--bam_filepath \
$MARINE/tests/strandedness_tests/bams/same_pos_dif_reads.bam \
--annotation_bedfile_path \
Expand Down
4 changes: 3 additions & 1 deletion tests/strandedness_tests/scripts/tax1bp3_chr17_3665556.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
marine.py \
mypython=$1

$mypython $MARINE/marine.py \
--bam_filepath \
$MARINE/tests/strandedness_tests/bams/tax1bp3_chr17_3665556.bam \
--annotation_bedfile_path \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
marine.py \
mypython=$1

$mypython $MARINE/marine.py \
--bam_filepath \
$MARINE/tests/strandedness_tests/bams/tax1bp3_chr17_3665556_read.bam \
--annotation_bedfile_path \
Expand Down

This file was deleted.

0 comments on commit 711a516

Please sign in to comment.