Mercurial > repos > triasteran > ribogalaxy_umi_processing
changeset 2:6958515efa76 draft
Uploaded
author | triasteran |
---|---|
date | Mon, 20 Jun 2022 07:27:23 +0000 |
parents | 5d0d5933d370 |
children | d27375bc4a1c |
files | UMI_riboseq_processing/UMI.py UMI_riboseq_processing/UMI_riboseq.xml |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/UMI_riboseq_processing/UMI.py Sun Jun 19 12:44:06 2022 +0000 +++ b/UMI_riboseq_processing/UMI.py Mon Jun 20 07:27:23 2022 +0000 @@ -20,7 +20,7 @@ sep = lines[2] qual = lines[3] trimmed_seq = seq[2:-5]+"\n" # fooprint + barcode - UMI = seq[0:2]+seq[-5:] #7nt in total; 5'NN and last 3'NNNNN + UMI = seq[0:2]+seq[-5:].strip('\n') #7nt in total; 5'NN and last 3'NNNNN split_header = header.split(" ") new_header = split_header[0]+"_"+UMI+" "+split_header[1] if qual[-1:] == "\n":
--- a/UMI_riboseq_processing/UMI_riboseq.xml Sun Jun 19 12:44:06 2022 +0000 +++ b/UMI_riboseq_processing/UMI_riboseq.xml Mon Jun 20 07:27:23 2022 +0000 @@ -1,4 +1,4 @@ -<tool id="UMI_riboseq" name="move UMIs from reads and keep barcodes" version="0.1.1"> +<tool id="UMI_riboseq" name="move UMIs from reads to header" version="0.1.2"> <requirements> </requirements> <command detect_errors="exit_code"> @@ -23,4 +23,4 @@ <citation type="bibtex"> @misc{FedorovaAD2022, author = {Fedorova Alla}, year = {2022}, title = {UMI_for_riboseq}, publisher = {GitHub}, journal = {GitHub repository}, url = {https://github.com/triasteran/RiboGalaxy_with_ansible/blob/main/toolshed_tools/UMI_riboseq_tool/UMI.py}, } </citation> </citations> -</tool> \ No newline at end of file +</tool>