Skip to content

Commit

Permalink
swapped the order of alignment filtering and validation
Browse files Browse the repository at this point in the history
  • Loading branch information
mnshgl0110 committed May 10, 2024
1 parent 2b1fde0 commit d045d4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plotsr/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.3"
__version__ = "1.1.4"
8 changes: 4 additions & 4 deletions plotsr/scripts/plotsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,14 @@ def plotsr(args):
cur = n
chrgrps[c] = cg

# Check chromsome IDs and sizes
chrlengths, genomes = validalign2fasta(alignments, args.genomes.name)
# chrlengths, genomes = validalign2fasta(alignments, 'genomes.txt') # TODO: Delete this line

# Filter alignments to select long alignments between homologous chromosomes
for i in range(len(alignments)):
alignments[i][1] = filterinput(args, alignments[i][1], chrids[i][1], ITX)

# Check chromsome IDs and sizes
chrlengths, genomes = validalign2fasta(alignments, args.genomes.name)
# chrlengths, genomes = validalign2fasta(alignments, 'genomes.txt') # TODO: Delete this line


# Select only chromosomes selected by --chr
if CHRS is not None:
Expand Down

0 comments on commit d045d4e

Please sign in to comment.