10XGenomics / bamtofastq

Convert 10x BAM files to the original FASTQs compatible with 10x pipelines
MIT License
59 stars 6 forks source link

How to set sample name of fastq file output #97

Open Yijia-Jiang opened 2 years ago

Yijia-Jiang commented 2 years ago

Hi,

I used cellranger atac to run bamtofastq. The fastq output folder has "MissingLibrary". How do I set the sample name to a meaningful name instead of MissingLibrary? Also, the filename of fastq files starts with something like bamtofastq_S1_L001_I1_001.fastq.gz, how do I change the bamtofastq prefix to the actual sample name?

The command line I used is:

/software/cellranger-atac-2.1.0/lib/bin/bamtofastq file/path/to/bam/ output/directory

Thanks