Hi! thanks for your reply. I used it now with sam files and I keep getting the same results.
I got a message of the possible source of the error this time:
makeTagDirectory ./Rubio_1_out path/to/file/Rubio_HiC_1_R1_merged_hg38.bwt2merged.sam,path/to/file/Rubio_1/Rubio_HiC_1_R2_merged_hg38.bwt2merged.sam
-tbp 1 -genome hg38 -checkGC -restrictionSite GATC
Making paired end tag directory
Will parse file: path/to/file/Rubio_HiC_1_R1_merged_hg38.bwt2merged.sam,path/to/file/Rubio_HiC_1_R2_merged_hg38.bwt2merged.sam
Restriction site set to GATC
Creating directory: ./Rubio_1_out and removing existing *.tags.tsv
Reading paired end alignment files path/to/file/Rubio_HiC_1_R1_merged_hg38.bwt2merged.sam,path/to/file/Rubio_HiC_1_R2_merged_hg38.bwt2merged.sam
Guessing that your alignment file is SAM format
!!!!! Could not open file ./Rubio_1_out/chr5_KI270793v1_alt.tags.tsv for printing tags!!!!!
!!!!! Is this a valid file name? May need to:
Try a different name for the tag directory (is the same name as an existing file?)
-or- you may need to rename your chromosomes if they have weird characters!
-or- try using the "-single" flag.
I did a "head" of my sam file and I found this
@HD VN:1.0 SO:queryname
@SQ SN:chr1 LN:248956422
@SQ SN:chr10 LN:133797422
@SQ SN:chr11 LN:135086622
@SQ SN:chr11_KI270721v1_random LN:100316
@SQ SN:chr12 LN:133275309
@SQ SN:chr13 LN:114364328
@SQ SN:chr14 LN:107043718
@SQ SN:chr14_GL000009v2_random LN:201709
@SQ SN:chr14_GL000225v1_random LN:211173
then the problem are the extra characters after the number of the chromosome. Does someone know how to fix this?
Thanks.
I have used Hisat2 to align my reads for HiC as single ends. I have been able to get tag directories but the second run using:
makeTagDirectory /mnt/f/SlipC_April26_22/fastq/TagDirectoryPro1/ HiC-noSelfLigation/ -update -genome hg19 -removePEbg -restrictionSite GATC -both -removeSelfLigation -removeSpikes 10000 5
is giving me the following errors:
Couldn't open a sequence file for "1" (/home/ceskiw/.//data/genomes/hg19//genome.fa.masked)
Is this the issue referenced above with aligning using Hisat2 vs Bowtie2?
All the best, Chris