Skip to content

A repository to convert BAM->CRAM files

License

Notifications You must be signed in to change notification settings

digenoma-lab/bam2cram

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bam2cram

A repository to convert BAM->CRAM files

run examples

#using a tsv file, with custom working directory
nextflow run main.nf  --bam_csv test/bams.txt --fasta test/ref.fa --fai test/ref.fa.fai --output_folder csv2 -w tmp
#using a directory with bams
nextflow run main.nf --bams test --fasta test/ref.fa  --fai test/ref.fa.fai --output_folder dirs_bam

tsv file

A tabular file with the following colums:

label   bam     index
S4      /path/S4.bam       /path/S4.bam.bai
S3      /path/S3.bam       /path/S3.bam.bai

Samtools

This tool has been tested with samtools 1.11.

About

A repository to convert BAM->CRAM files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Nextflow 89.4%
  • Dockerfile 10.6%