@@ -205,7 +205,6 @@ def barcodeDemultiplexing(reads,
205205 idFile ,
206206 mismatches ,
207207 kmer ,
208- start_positon ,
209208 over_hang ,
210209 taggd_metric ,
211210 taggd_multiple_hits_keep_one ,
@@ -223,7 +222,6 @@ def barcodeDemultiplexing(reads,
223222 :param idFile: a tab delimited file (BARCODE - X - Y) containing all the barcodes
224223 :param mismatches: the number of allowed mismatches
225224 :param kmer: the kmer length
226- :param start_positon: the start position of the barcode
227225 :param over_hang: the number of bases to allow for overhang
228226 :param taggd_metric: the distance metric algorithm (Subglobal, Levensthein or Hamming)
229227 :param taggd_multiple_hits_keep_one: when True keep one random hit when multiple candidates
@@ -234,7 +232,6 @@ def barcodeDemultiplexing(reads,
234232 :type idFile: str
235233 :type mismatches: int
236234 :type kmer: int
237- :type start_positon: int
238235 :type over_hang: int
239236 :type taggd_metric: str
240237 :type taggd_multiple_hits_keep_one: bool
@@ -271,13 +268,12 @@ def barcodeDemultiplexing(reads,
271268
272269 args += ["--max-edit-distance" , mismatches ,
273270 "--k" , kmer ,
274- "--barcode-tag" , "B0" , # if input is BAM we tell taggd what tag contains the barcode
275- "--start-position" , start_positon ,
271+ "--barcode-tag" , "B0" , # if input is BAM we tell taggd which tag contains the barcode
276272 "--homopolymer-filter" , 0 ,
277273 "--subprocesses" , cores ,
278274 "--metric" , taggd_metric ,
279- "--overhang" , over_hang ] # ,
280- # ' --use-samtools-merge'] # Could be added to merge using samtools instead of pysam WIP on taggd
275+ "--overhang" , over_hang ]
276+ # --use-samtools-merge Could be added to merge using samtools instead of pysam WIP on taggd
281277
282278 if taggd_multiple_hits_keep_one :
283279 args .append ("--multiple-hits-keep-one" )
0 commit comments