Shayan Doust pushed to branch master at Debian Med / bcalm
Commits:
480104cf by Shayan Doust at 2019-10-01T15:01:29Z
Do some key checks as pbuilder hook seemingly messes autopkgtest
- - - - -
1 changed file:
- debian/missing-sources/compare_fasta.py
Changes:
=====================================
debian/missing-sources/compare_fasta.py
=====================================
@@ -7,8 +7,9 @@ fasta2 = sys.argv[2]
revcomp = lambda x: ''.join([{'A':'T','C':'G','G':'C','T':'A'}[B] for B in
x][::-1])
def normalize(seq):
- rev = revcomp(seq)
- return min(rev,seq)
+ if seq == 'A' or seq == 'C' or seq == 'G' or seq == 'T':
+ rev = revcomp(seq)
+ return min(rev,seq)
def read_seqs(fasta):
seqs = set()
View it on GitLab:
https://salsa.debian.org/med-team/bcalm/commit/480104cfeb35828b02cf1a6786dea857d1544cf3
--
View it on GitLab:
https://salsa.debian.org/med-team/bcalm/commit/480104cfeb35828b02cf1a6786dea857d1544cf3
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit