Skip to content

Commit

Permalink
added option to library creation
Browse files Browse the repository at this point in the history
version updated
  • Loading branch information
kavonrtep committed Jul 3, 2024
1 parent adb1624 commit 184a14d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion dante_ltr_to_library
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ def main():
'library (default: 3)')
parser.add_argument('-c', '--cpu', required=False, default=1, type=int,
help='Number of cpus to use')
parser.add_argument('-p', '--proportion_min', required=False, default=0.95,
help="Proportion of sequences in cluster that need to have "
"the same annotation to be included in repeat library "
"(default: 0.95)")

args = parser.parse_args()

script_dir = os.path.dirname(os.path.realpath(__file__))
Expand All @@ -44,7 +49,7 @@ def main():
# run mmseqs2 clustering
cmd = (F"{script_dir}/utils/mmseq_clustering.R -f {args.output_dir}/TE_all.fasta"
F" -o {args.output_dir}/mmseqs2 -m {args.min_coverage}"
F" -t {args.cpu}")
F" -p {args.proportion_min} -t {args.cpu}")

subprocess.check_call(cmd, shell=True)

Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.3.5.2'
__version__ = '0.3.5.3'

0 comments on commit 184a14d

Please sign in to comment.