-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add gene_id to gtf output * Adjust version checks and allow more recent nhmmer versions * Handle 'X' and '=' cigar operations * Fix bug when Q step is run with minimal arguments * Handle secondary alignments * Update how reads are split for C steps * Improve error message when chr from alignment is not found in reference fasta * Fix bug where start of novel isoform was off by 1 in gtf output * Add automated tests * Improve thread error checking * Add sorting to get deterministic novel isoform IDs * Use the split .fasta in the C step * Update expected example output * Use TMPDIR in S step in snakemake * Update parsing for new version of snakemake * Suppress error message if git commit not found * Handle reused slurm IDs * Increase default Q step memory
- Loading branch information
1 parent
f7289a7
commit 6629e09
Showing
41 changed files
with
4,746 additions
and
588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
function set_script_dir() { | ||
local ORIG_DIR="$(pwd)" || return 1 | ||
|
||
local REL_SCRIPT_DIR="$(dirname ${BASH_SOURCE[0]})" || return 1 | ||
cd "${REL_SCRIPT_DIR}" || return 1 | ||
SCRIPT_DIR="$(pwd)" || return 1 | ||
cd "${ORIG_DIR}" || return 1 | ||
} | ||
|
||
function main() { | ||
set_script_dir || return 1 | ||
export PYTHONPATH="${SCRIPT_DIR}" || return 1 | ||
|
||
if [[ "$#" -eq 0 ]]; then | ||
python "${SCRIPT_DIR}/tests/runner.py" || return 1 | ||
else | ||
# run a specific test file if passed as an argument: | ||
# ./run_tests tests/sirv_example/test.py | ||
python "$1" || return 1 | ||
fi | ||
} | ||
|
||
main "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
beautifulsoup4=4.8.2 | ||
blast=2.10.1 | ||
hmmer=3.3.1 | ||
hmmer=3.3.2 | ||
minimap2=2.17 | ||
numpy=1.22.4 | ||
perl-storable=3.15 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.