You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to specify a 14bp sample barcode that consists of bases 2-8 of Index read 1 and bases 2-8 of index read 2. The molecular barcode in this example is found in bases 8-16 of index read 2.
The text was updated successfully, but these errors were encountered:
Split the option up based on which file the range is acting on. So i1:2-8,i2:2-8 becomes the array ['i1:2-8', 'i2:2-8'].
For each item in the array, find out which file it references and the range, either using .split or using a regular expression.
importrex='i1:2-8,i2:2-8'parts=x.split(',')
forpartinparts:
m=re.match(r'(?P<filename>.+):(?P<lower_bound>\d+)-(?P<upper_bound>\d+)', part)
filename=m.group('filename')
lower_bound=m.group('lower_bound')
upper_bound=m.group('upper_bound')
# Process the barcodes based on this.
demultiplex.py should have an option to specify how to construct the sample and molecular barcodes. e.g.:
python demultiplex.py --sample_barcode i1:2-8,i2:2-8 --molecular_barcode i2:9-16 . . .
to specify a 14bp sample barcode that consists of bases 2-8 of Index read 1 and bases 2-8 of index read 2. The molecular barcode in this example is found in bases 8-16 of index read 2.
The text was updated successfully, but these errors were encountered: