Skip to content

how to save SAM/BAM files with STARsolo with loop #1654

Answered by alexdobin
Polligator asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @joyduck

if you are looping over samples, it's best to either:

  • create new directory for every sample, cd to it, and run STAR from it
    OR
  • use different --outFileNamePrefix for each sample
    Both of these will save separate files for each run.

If you do not need BAM, you can switch off SAM/BAM output with --outSAMtype None. All other files will be output.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Polligator
Comment options

Answer selected by Polligator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants