Sorry to disturb you,but I was stuck in the bam-readcount step.
The code provided is that
`and run bam-readcount:
while read line
do
mag=$line
echo $mag
cd SplitBam
cd ${mag}
cp ../../Split/${mag}/${mag}_contigs.tsv ${mag}_contigs.tsv
samtools faidx ../../Split/${mag}/${mag}.fa
echo "${mag}_contigs.tsv"
mkdir ReadcountFilter
for bamfile in *_Filter.bam
do
stub=${bamfile%_Filter.bam}`
Is ${mag}_contig.tsv the same as ${Cluster_1}/Cluster1_contig.tsv?
I will appreciate it if you can reply as soon as possible.
Sorry to disturb you,but I was stuck in the bam-readcount step.
The code provided is that `and run bam-readcount:
while read line do mag=$line
Is ${mag}_contig.tsv the same as ${Cluster_1}/Cluster1_contig.tsv? I will appreciate it if you can reply as soon as possible.