Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split R1 and R2 for smartseq2 light_class_input.py #11

Open
2 of 4 tasks
olgabot opened this issue Jul 9, 2021 · 1 comment
Open
2 of 4 tasks

Split R1 and R2 for smartseq2 light_class_input.py #11

olgabot opened this issue Jul 9, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@olgabot
Copy link
Contributor

olgabot commented Jul 9, 2021

scripts/light_class_input.py expects two bam files -- one each for R1 and R2

python3 scripts/light_class_input.py --outpath /oak/stanford/groups/horence/Roozbeh/single_cell_project/output/mouse_brain_PNAS_Tasic_2018/SRR7311317/ --gtf /oak/stanford/groups/horence/Roozbeh/single_cell_project/SICILIAN_references/mouse/refseq_GRCm38.p6/GCF_000001635.26_GRCm38.p6_genomic.gtf --annotator /oak/stanford/groups/horence/Roozbeh/single_cell_project/SICILIAN_references/mouse/refseq_GRCm38.p6/refseq_mm10.p6.pkl --bams /oak/stanford/groups/horence/Roozbeh/single_cell_project/output/mouse_brain_PNAS_Tasic_2018/SRR7311317/1Aligned.out.bam /oak/stanford/groups/horence/Roozbeh/single_cell_project/output/mouse_brain_PNAS_Tasic_2018/SRR7311317/2Aligned.out.bam --paired

Check Documentation

I have checked the following places for your error:

Description of the bug

Steps to reproduce

Steps to reproduce the behaviour:

  1. Command line:
  2. See error:

Expected behaviour

Log files

Have you provided the following extra information/files:

  • The command used to run the pipeline
  • The .nextflow.log file

System

  • Hardware:
  • Executor:
  • OS:
  • Version

Nextflow Installation

  • Version:

Container engine

  • Engine:
  • version:
  • Image tag:

Additional context

@olgabot olgabot added the bug Something isn't working label Jul 9, 2021
@olgabot
Copy link
Contributor Author

olgabot commented Jul 20, 2021

Need to split R1 and R2 into separate bam files: #11 in STAR_ALIGN process

This is the code to add:

mv ${prefix}.Aligned.out.bam original.bam
samtools view -hbf 64 original.bam > ${prefix}.R1.Aligned.out.bam
samtools view -hbf 128 original.bam > ${prefix}.R2.Aligned.out.bam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant